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 }); }); }