diff options
| author | Pitu <[email protected]> | 2020-07-18 02:21:31 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-07-18 02:21:31 +0900 |
| commit | 2d06d918a154c15196ca92fb8f7873ca3c797f00 (patch) | |
| tree | 085c8998b86a0cb00ed3030124bfdf463d9ea4ef /src/api/structures | |
| parent | Updated TODO (diff) | |
| download | host.fuwn.me-2d06d918a154c15196ca92fb8f7873ca3c797f00.tar.xz host.fuwn.me-2d06d918a154c15196ca92fb8f7873ca3c797f00.zip | |
Timeout, package and docs cleanup
Diffstat (limited to 'src/api/structures')
| -rw-r--r-- | src/api/structures/Server.js | 3 |
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); } } |