mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-03 18:51:02 -06:00
Use CDN to deliver logos (#421)
This commit is contained in:
parent
8bd6b86018
commit
1d1ee7972f
@ -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
|
||||
|
||||
@ -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";
|
||||
}
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user