|
@@ -66,7 +66,8 @@ class ServerApp {
|
|
options: {
|
|
options: {
|
|
static: path.resolve(__dirname, './static'),
|
|
static: path.resolve(__dirname, './static'),
|
|
sessionSecret: Guid.new(),
|
|
sessionSecret: Guid.new(),
|
|
- adminPassword: SHA256.hash(ServerConfig.adminPassword)
|
|
|
|
|
|
+ adminPassword: SHA256.hash(ServerConfig.adminPassword),
|
|
|
|
+ sessionMaxAge: 21600000
|
|
}
|
|
}
|
|
}).init().then((server) => {
|
|
}).init().then((server) => {
|
|
server.start(() => {
|
|
server.start(() => {
|