Trailing slash bugfix

This commit is contained in:
Romein van Buren 2022-10-24 13:35:53 +02:00
parent 543a3f345e
commit 65065468c4
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ onMount(async function () {
} }
api.subscribe(pluginName + '/reload', async msg => { api.subscribe(pluginName + '/reload', async msg => {
if (msg.id == item.id) { if (msg.id == item.id) {
({ item, form, log } = await api.get('/status/outages' + id)); ({ item, form, log } = await api.get('/status/outages/' + id));
} }
}); });
api.subscribe(entity + '/reload', async () => { api.subscribe(entity + '/reload', async () => {

View File

@ -84,7 +84,7 @@ onMount(async function () {
} }
api.subscribe(pluginName + '/reload', async msg => { api.subscribe(pluginName + '/reload', async msg => {
if (msg.id == item.id) { if (msg.id == item.id) {
({ item, form, log } = await api.get('/status/webservices' + id)); ({ item, form, log } = await api.get('/status/webservices/' + id));
} }
}); });
api.subscribe(entity + '/reload', async () => { api.subscribe(entity + '/reload', async () => {