1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00

Add .svg suffix to badge image url

This commit is contained in:
TwinProduction 2021-02-05 19:58:20 -05:00
parent 79bef8d391
commit 8698736e7d
3 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ export default {
});
},
generateBadgeImageURL(duration) {
return `${this.serverUrl}/api/v1/badges/uptime/${duration}/${this.serviceStatus.key}`;
return `${this.serverUrl}/api/v1/badges/uptime/${duration}/${this.serviceStatus.key}.svg`;
},
prettifyUptime(uptime) {
if (!uptime) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long