feat: update swagger, secure cookie

This commit is contained in:
wancat committed 2023-09-17 12:48:50 +08:00
1 parent d939b7eb4d
commit d745531a14
5 files changed
+26 -4

No files matched your search

+2 -1
View File
@@ -8,5 +8,6 @@ export default {
dockerNetwork: get('DOCKER_NETWORK', 'linux-odyssey-players'),
isProduction: process.env.NODE_ENV === 'production',
hostPwd: get('HOST_PWD', ''),
expiry: get('EXPIRY', 1000 * 60 * 60),
containerExpiry: get('EXPIRY', 1000 * 60 * 60),
sessionMaxAge: get('SESSION_MAX_AGE', 1000 * 60 * 60 * 24 * 7),
}