diff --git a/src/services/authentication.ts b/src/services/authentication.ts index 4ccb044..f1c6ab0 100644 --- a/src/services/authentication.ts +++ b/src/services/authentication.ts @@ -18,7 +18,7 @@ export async function login(username: string, password: string) { useCookies().set('token', response.data.token as string, { // for whole domain // @TODO : #190 - // domain: window.location.hostname.split('.').slice(-2).join('.') + domain: window.location.hostname.split('.').slice(-2).join('.') }) return { success: true, token: response.data.token } } catch (error: any) { diff --git a/src/stores/gameStore.ts b/src/stores/gameStore.ts index c6737fd..44cd8e4 100644 --- a/src/stores/gameStore.ts +++ b/src/stores/gameStore.ts @@ -108,7 +108,7 @@ export const useGameStore = defineStore('game', { useCookies().remove('token', { // for whole domain // @TODO : #190 - // domain: window.location.hostname.split('.').slice(-2).join('.') + domain: window.location.hostname.split('.').slice(-2).join('.') }) // this.isAssetsLoaded = false