diff --git a/apps/web/src/components/navbar/navbar.tsx b/apps/web/src/components/navbar/navbar.tsx index 5aa6d09c612d408d3f016f17495534cb6d94c9b4..2c8c7baa9dc7b1e4bb6e099586d37218c006ca83 100644 --- a/apps/web/src/components/navbar/navbar.tsx +++ b/apps/web/src/components/navbar/navbar.tsx @@ -17,6 +17,8 @@ import { showSharableExploration } from 'config'; import { Button, useActiveSaveStateAuthorization } from '@graphpolaris/shared'; import { ManagementTrigger, ManagementViews } from '@graphpolaris/shared/lib/management'; +const AuthURL = import.meta.env.GP_AUTH_URL; + export const Navbar = () => { const dropdownRef = useRef<HTMLDivElement>(null); const auth = useAuthentication(); @@ -86,7 +88,7 @@ export const Navbar = () => { <DropdownItem value="Log out" onClick={() => { - location.replace(`${import.meta.env['GP_AUTH_URL']}/flows/-/default/invalidation/`); + location.replace(`${AuthURL}/flows/-/default/invalidation/`); }} /> </>