1
0
Fork 0
refactor/models
Matthew 2019-11-17 18:13:09 -05:00
parent 1f2791db45
commit 51839c20eb
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

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