diff --git a/modules/mining-checker/assets/js/app.js b/modules/mining-checker/assets/js/app.js index 69f6efea..e81d2881 100644 --- a/modules/mining-checker/assets/js/app.js +++ b/modules/mining-checker/assets/js/app.js @@ -1705,7 +1705,7 @@ async function loadModuleAuth() { try { - const auth = await request('/api/module-auth/mining-checker', { timeoutMs: 5000 }); + const auth = await request('/api/module-auth/mining-checker/index.php', { timeoutMs: 5000 }); setModuleAuthForm({ required: !!auth.required, users: Array.isArray(auth.users) ? auth.users.join(', ') : '', @@ -1721,7 +1721,7 @@ setSaving(true); setError(''); try { - await request('/api/module-auth/mining-checker', { + await request('/api/module-auth/mining-checker/index.php', { method: 'PUT', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({