Fix for login URL
This commit is contained in:
parent
31f1810e5e
commit
170f1ac59c
|
@ -12,7 +12,7 @@ export const INITIAL_SETUP_QUERY = gql`
|
|||
|
||||
export function login(token: string) {
|
||||
saveTokenCookie(token)
|
||||
window.location.href = '/'
|
||||
window.location.href = `${import.meta.env.BASE_URL}`
|
||||
}
|
||||
|
||||
export const Container = styled.div.attrs({ className: 'mt-20' })``
|
||||
|
|
Loading…
Reference in New Issue