disable all api routes temporarily
parent
0a2ad6cdde
commit
cae4c9c2cd
|
@ -5,7 +5,7 @@ import { Req } from '../interfaces';
|
|||
|
||||
export default class Account extends Route {
|
||||
constructor(server: Server) {
|
||||
super(server, { path: '/account', deprecated: false });
|
||||
super(server, { path: '/account', deprecated: false, maintenance: true });
|
||||
}
|
||||
|
||||
public bind() {
|
||||
|
|
|
@ -4,7 +4,7 @@ import { Route } from '../../class';
|
|||
|
||||
export default class Root extends Route {
|
||||
constructor(server: Server) {
|
||||
super(server, { path: '/', deprecated: false });
|
||||
super(server, { path: '/', deprecated: false, maintenance: true });
|
||||
}
|
||||
|
||||
public bind() {
|
||||
|
|
Loading…
Reference in New Issue