#190 : Cookie domain improvement
This commit is contained in:
@ -105,9 +105,7 @@ export const useGameStore = defineStore('game', {
|
||||
this.connection?.disconnect()
|
||||
|
||||
useCookies().remove('token', {
|
||||
// for whole domain
|
||||
// @TODO : #190
|
||||
// domain: window.location.hostname.split('.').slice(-2).join('.')
|
||||
domain: getDomain()
|
||||
})
|
||||
|
||||
this.isAssetsLoaded = false
|
||||
|
Reference in New Issue
Block a user