feat(admincheck): this check is so we dont use stuff on the wrong servers

This commit is contained in:
2025-03-19 17:13:21 -05:00
parent 92b47f03d9
commit 3d083986ae

View 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;
};