mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
fix translatability of maintenance page
This commit is contained in:
parent
8082bb0188
commit
18ccddeaf8
@ -36,7 +36,7 @@ export default ({ app, req, cookie, store }) => {
|
||||
}
|
||||
|
||||
const expires = new Date()
|
||||
expires.setDate(expires.getDate() + app.$env.COOKIE_EXPIRE_TIME)
|
||||
expires.setDate(expires.getDate() + app.$env && app.$env.COOKIE_EXPIRE_TIME)
|
||||
app.$cookies.set(key, localeInStore, {
|
||||
expires,
|
||||
// maxAge: app.$env.COOKIE_EXPIRE_TIME * 60 * 60 * 24, // days to seconds
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user