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
@@ -99,7 +99,7 @@ export type InstructorPlatformsResponse = {
agents: TeachingAgent[];
};
const LMS_API_BASE_URL = (import.meta.env.VITE_API_BASE_URL ?? 'http://localhost:4400/api').replace(/\/+$/, '');
const LMS_API_BASE_URL = (import.meta.env.VITE_API_BASE_URL ?? 'https://workspace.autonomystudio.net/lms-api/api').replace(/\/+$/, '');
export async function listInstructorPlatforms(accessToken: string): Promise<InstructorPlatformsResponse> {
const response = await fetch(`${LMS_API_BASE_URL}/instructor/platforms`, {