fix(status): remove unnecessary quotes from host and name properties

This commit is contained in:
2025-11-04 18:13:17 +01:00
parent 290e8b982a
commit df048c1352

View File

@@ -15,16 +15,16 @@ export class StatusService {
public hosts: Host[] = [ public hosts: Host[] = [
{ {
'host': 'https://protojx.com', host: 'https://protojx.com',
'name': 'Protojx Website', name: 'Protojx Website',
alive: false, alive: false,
ping_type: 'website', ping_type: 'website',
type: 'website', type: 'website',
notify: false notify: false
}, },
{ {
'host': 'https://manager.protojx.com', host: 'https://manager.protojx.com',
'name': 'Espace Client', name: 'Espace Client',
alive: false, alive: false,
ping_type: 'website', ping_type: 'website',
type: 'website', type: 'website',
@@ -297,10 +297,10 @@ export class StatusService {
(text) => (text) =>
text.setContent('## ' + sectionData.title + '\n' + hostTexts.filter((v) => v.type == sectionData.type).map((v) => v.value).join('\n')) text.setContent('## ' + sectionData.title + '\n' + hostTexts.filter((v) => v.type == sectionData.type).map((v) => v.value).join('\n'))
) )
.setThumbnailAccessory( .setThumbnailAccessory(
(acc) => (acc) =>
acc.setURL(sectionData.thumbnail) acc.setURL(sectionData.thumbnail)
) )
) )
}); });