mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
set cookies expiration
This commit is contained in:
parent
9c1ff334d9
commit
875626da88
3 changed files with 4 additions and 4 deletions
|
|
@ -154,7 +154,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
setCookieConsent () {
|
||||
Cookies.set('heros-et-dragons-cookies', 'compris')
|
||||
Cookies.set('heros-et-dragons-cookies', 'compris', { expires: 365 })
|
||||
this.cookieConsentDialog = false
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ export default {
|
|||
},
|
||||
|
||||
setShowColumn () {
|
||||
Cookies.set('heros-et-dragons-grimoire-colonnes', this.showColumn)
|
||||
Cookies.set('heros-et-dragons-grimoire-colonnes', this.showColumn, { expires: 365 })
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue