Update instances.html
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user