fix typo
parent
1f2791db45
commit
51839c20eb
|
@ -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) {
|
||||
|
|
|
@ -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 });
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue