aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-19 22:35:59 +0300
committerZephyrrus <[email protected]>2020-07-19 22:35:59 +0300
commit645b62b81dc46b2e2bdea0fbe30c36c4e0ff4a48 (patch)
tree4c454e816b699ead53d225afadfb528649d126f7 /src/api/structures
parentfeat: Start working on a new album/tags/image info modal (diff)
parentUpdate setup script (diff)
downloadhost.fuwn.me-645b62b81dc46b2e2bdea0fbe30c36c4e0ff4a48.tar.xz
host.fuwn.me-645b62b81dc46b2e2bdea0fbe30c36c4e0ff4a48.zip
Merge branch 'dev' into dev-zephy
Diffstat (limited to 'src/api/structures')
-rw-r--r--src/api/structures/Server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js
index c8537fb..7f1b4d5 100644
--- a/src/api/structures/Server.js
+++ b/src/api/structures/Server.js
@@ -103,9 +103,10 @@ class Server {
jetpack.dir('uploads/thumbs/square');
this.registerAllTheRoutes();
this.serveNuxt();
- this.server.listen(this.port, () => {
+ const server = this.server.listen(this.port, () => {
log.success(`Backend ready and listening on port ${this.port}`);
});
+ server.setTimeout(600000);
}
}