aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures/Server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/structures/Server.js')
-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 a8eccd9..2039ed5 100644
--- a/src/api/structures/Server.js
+++ b/src/api/structures/Server.js
@@ -78,9 +78,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);
}
}