Update instances.html

This commit is contained in:
2025-06-09 15:41:18 +02:00
parent 176ab4a194
commit 309b03956f

View File

@@ -474,7 +474,7 @@ async function authenticateInstance() {
try { try {
// First login to get token // First login to get token
const loginResponse = await fetch(`${instanceUrl}/admin/login`, { const loginResponse = await fetch(`${instanceUrl}/api/admin/login`, {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@@ -491,7 +491,7 @@ async function authenticateInstance() {
const { token } = await loginResponse.json(); const { token } = await loginResponse.json();
// Then create management API key // 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', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',