dashboard: trailing slash and endpoint update

This commit is contained in:
Stephan de Wit 2024-12-13 08:26:07 +01:00
parent 4cbbd92eb3
commit 23ec00f641
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ export default class Gateways extends BaseTableWidget {
}
async _fetchGateways() {
const data = await this.ajaxCall('/api/routing/settings/searchGateway/');
const data = await this.ajaxCall('/api/routing/settings/searchGateway');
if (!data.rows || !data.rows.length) {
return false;
}

View File

@ -178,7 +178,7 @@
<filename>Gateways.js</filename>
<link>/ui/routing/configuration</link>
<endpoints>
<endpoint>/api/routes/gateway/status</endpoint>
<endpoint>/api/routing/settings/searchGateway</endpoint>
</endpoints>
<translations>
<title>Gateways</title>