Skip to content

Commit

Permalink
🐛 Use main when resolving colorschemes
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorBeeston committed Aug 6, 2024
1 parent fe267f7 commit 6cdd22d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn parse_and_validate_colorscheme(content: &str, name: &str) -> Result<Vec<Strin

async fn download_colorscheme_from_github(name: &str) -> Result<String, AppError> {
let url = format!(
"https://raw.githubusercontent.com/TaylorBeeston/image-colorizer/download-colorschemes/colorschemes/{}.txt",
"https://raw.githubusercontent.com/TaylorBeeston/image-colorizer/main/colorschemes/{}.txt",
name.to_lowercase()
);

Expand Down

0 comments on commit 6cdd22d

Please sign in to comment.