mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Be more specific when detecting sandbox (#8432)
* Be more specific when detecting sandbox * Fix typo in domain
This commit is contained in:
parent
1f39b73b2d
commit
8185254088
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export const AuthenticatedRoutes = ({
|
|||
// this works with App.tsx. if authToken does
|
||||
// exist, user state is checked and fetched if null
|
||||
if (!authToken()) {
|
||||
if (window.location.hostname.includes("sandbox")) {
|
||||
if (window.location.hostname.includes(".sandbox.fleetdm.com")) {
|
||||
window.location.href = "https://www.fleetdm.com/try-fleet/login";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue