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
@@ -22,7 +22,7 @@ export type InstructorChatThread = {
messages: InstructorChatMessage[];
};
const CHAT_API_BASE_URL = (import.meta.env.VITE_API_BASE_URL ?? 'http://localhost:4400/api').replace(/\/+$/, '');
const CHAT_API_BASE_URL = (import.meta.env.VITE_API_BASE_URL ?? 'https://workspace.autonomystudio.net/lms-api/api').replace(/\/+$/, '');
export const CHAT_SOCKET_BASE_URL = CHAT_API_BASE_URL.replace(/\/api$/, '');
type ChatThreadsPayload = {