use deployed api endpoints for lms admin

This commit is contained in:
2026-07-08 09:14:41 +09:00
parent 705ffeb490
commit b581ee59d3
13 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import type { AuthAppRole, AuthSession } from '../types/auth';
const AUTH_BASE_URL = (import.meta.env.VITE_ATNMY_AUTH_URL ?? import.meta.env.VITE_ADS_IDE_AUTH_URL ?? 'http://localhost:4100').replace(/\/+$/, '');
const AUTH_BASE_URL = (import.meta.env.VITE_ATNMY_AUTH_URL ?? import.meta.env.VITE_ADS_IDE_AUTH_URL ?? 'https://auth.autonomystudio.net').replace(/\/+$/, '');
const ADMIN_SESSION_STORAGE_KEY = 'atnmy.lms.admin.auth.session';
const INSTRUCTOR_ROLES = new Set(['INSTRUCTOR', 'LMS_ADMIN']);