feat(lstv2 move): moved lstv2 into this app to keep them combined and easier to maintain
This commit is contained in:
8
lstV2/frontend/src/utils/adminUrlCheck.ts
Normal file
8
lstV2/frontend/src/utils/adminUrlCheck.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export const adminUrlCheck = () => {
|
||||
const host = window.location.host.split(":")[0];
|
||||
const okHost = ["localhost", "usmcd1vms036"];
|
||||
if (okHost.includes(host)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
Reference in New Issue
Block a user