asdasd
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user