From 6cdd22d8190a2229e83a08e0d66cafb021d098b5 Mon Sep 17 00:00:00 2001 From: Taylor Beeston Date: Tue, 6 Aug 2024 09:13:37 -0700 Subject: [PATCH] :bug: Use main when resolving colorschemes --- Cargo.lock | 2 +- src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60c047f..e2bfe56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -954,7 +954,7 @@ dependencies = [ [[package]] name = "image-colorizer" -version = "1.0.5" +version = "1.1.0" dependencies = [ "anyhow", "bytemuck", diff --git a/src/config.rs b/src/config.rs index ebb7fb9..4304b62 100644 --- a/src/config.rs +++ b/src/config.rs @@ -179,7 +179,7 @@ fn parse_and_validate_colorscheme(content: &str, name: &str) -> Result Result { 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() );