Support /meeting path alongside /survey and root paths

This commit is contained in:
pongpon pitisuk
2026-09-17 15:32:01 +07:00
parent e0ed82fa74
commit fb505c53d5
5 changed files with 11 additions and 8 deletions
+4 -1
View File
@@ -4,7 +4,10 @@
*/
const getAppBasePath = () => {
return window.location.pathname.includes('/survey') ? '/survey' : '';
const p = window.location.pathname;
if (p.includes('/meeting')) return '/meeting';
if (p.includes('/survey')) return '/survey';
return '';
};
const API = {