|
@@ -15,8 +15,8 @@ import "./theme.css";
|
|
|
const u = navigator.userAgent;
|
|
|
setStoreData({
|
|
|
isApp: u.includes("COLEXIUTEACHER") || u.includes("COLEXIUSTUDENT"),
|
|
|
- platformApi: u.includes("COLEXIUTEACHER") ? "/api-teacher" : "/api-student",
|
|
|
- platformType: u.includes("COLEXIUTEACHER") ? "TEACHER" : "STUDENT",
|
|
|
+ platformApi: u.includes("COLEXIUSTUDENT") ? "/api-student" : "/api-teacher",
|
|
|
+ platformType: u.includes("COLEXIUSTUDENT") ? "STUDENT" : "TEACHER",
|
|
|
proxy: import.meta.env.DEV ? "/instrument" : ""
|
|
|
});
|
|
|
})();
|