From 309b03956f65d49a6a1b9f5a7d9c2ecc748fa1e8 Mon Sep 17 00:00:00 2001 From: Kobe Date: Mon, 9 Jun 2025 15:41:18 +0200 Subject: [PATCH] Update instances.html --- templates/main/instances.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/main/instances.html b/templates/main/instances.html index 642f4ed..97ed56c 100644 --- a/templates/main/instances.html +++ b/templates/main/instances.html @@ -474,7 +474,7 @@ async function authenticateInstance() { try { // First login to get token - const loginResponse = await fetch(`${instanceUrl}/admin/login`, { + const loginResponse = await fetch(`${instanceUrl}/api/admin/login`, { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -491,7 +491,7 @@ async function authenticateInstance() { const { token } = await loginResponse.json(); // Then create management API key - const keyResponse = await fetch(`${instanceUrl}/admin/management-api-key`, { + const keyResponse = await fetch(`${instanceUrl}/api/admin/management-api-key`, { method: 'POST', headers: { 'Content-Type': 'application/json',