Compare commits

...

2 Commits

Author SHA1 Message Date
Flaminel
7192796e89 Update frontend packages (#422) 2026-01-14 14:17:04 +02:00
Flaminel
1d1ee7972f Use CDN to deliver logos (#421) 2026-01-14 13:51:25 +02:00
4 changed files with 577 additions and 484 deletions

View File

@@ -68,7 +68,7 @@ public sealed class NotificationService
["Test time"] = DateTime.UtcNow.ToString("o"),
["Provider type"] = providerConfig.Type.ToString(),
},
Image = new Uri("https://raw.githubusercontent.com/Cleanuparr/Cleanuparr/refs/heads/main/Logo/256.png")
Image = new Uri("https://cdn.jsdelivr.net/gh/Cleanuparr/Cleanuparr@main/Logo/256.png")
};
try

View File

@@ -18,5 +18,5 @@ public static class Constants
public const int DefaultSearchDelaySeconds = 120;
public const int MinSearchDelaySeconds = 60;
public const string LogoUrl = "https://github.com/Cleanuparr/Cleanuparr/blob/main/Logo/48.png?raw=true";
public const string LogoUrl = "https://cdn.jsdelivr.net/gh/Cleanuparr/Cleanuparr@main/Logo/48.png";
}

View File

File diff suppressed because it is too large Load Diff

View File

@@ -70,7 +70,7 @@ export class DiscordProviderComponent implements OnInit, OnChanges {
private resetProviderFields(): void {
this.webhookUrlControl.setValue('');
this.usernameControl.setValue('');
this.avatarUrlControl.setValue('https://github.com/Cleanuparr/Cleanuparr/blob/main/Logo/48.png?raw=true');
this.avatarUrlControl.setValue('https://cdn.jsdelivr.net/gh/Cleanuparr/Cleanuparr@main/Logo/48.png');
}
protected hasFieldError(control: FormControl, errorType: string): boolean {