From 51839c20ebd0ad75b48bde60aeb8e2907d761323 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 17 Nov 2019 18:13:09 -0500 Subject: [PATCH] fix typo --- src/api/routes/FileSystem.ts | 1 - src/class/Route.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/routes/FileSystem.ts b/src/api/routes/FileSystem.ts index 814e676..f5f11ec 100644 --- a/src/api/routes/FileSystem.ts +++ b/src/api/routes/FileSystem.ts @@ -1,7 +1,6 @@ /* eslint-disable consistent-return */ import { Server } from '..'; import { Route } from '../../class'; -import { Req } from '../interfaces'; export default class FileSystem extends Route { constructor(server: Server) { diff --git a/src/class/Route.ts b/src/class/Route.ts index ddcb40a..9c8545e 100644 --- a/src/class/Route.ts +++ b/src/class/Route.ts @@ -24,7 +24,7 @@ export default class Route { } public maintenance() { - this.router.all('*;', (_req, res) => { + this.router.all('*', (_req, res) => { res.status(503).json({ code: this.constants.codes.MAINTENANCE_OR_UNAVAILABLE, message: this.constants.messages.MAINTENANCE_OR_UNAVAILABLE }); }); }