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