Support /meeting path alongside /survey and root paths
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user