diff --git a/src/api/routes/Account.ts b/src/api/routes/Account.ts index 40b1685..44365bc 100644 --- a/src/api/routes/Account.ts +++ b/src/api/routes/Account.ts @@ -5,7 +5,7 @@ import { Req } from '../interfaces'; export default class Account extends Route { constructor(server: Server) { - super(server, { path: '/account', deprecated: false, maintenance: true }); + super(server, { path: '/account', deprecated: false, maintenance: false }); } public bind() { diff --git a/src/api/routes/Root.ts b/src/api/routes/Root.ts index 41f8466..4b96550 100644 --- a/src/api/routes/Root.ts +++ b/src/api/routes/Root.ts @@ -4,7 +4,7 @@ import { Route } from '../../class'; export default class Root extends Route { constructor(server: Server) { - super(server, { path: '/', deprecated: false, maintenance: true }); + super(server, { path: '/', deprecated: false, maintenance: false }); } public bind() { diff --git a/src/class/Route.ts b/src/class/Route.ts index 1374644..ff6f36c 100644 --- a/src/class/Route.ts +++ b/src/class/Route.ts @@ -10,6 +10,11 @@ export default class Route { public conf: { path: string, deprecated?: boolean, maintenance?: boolean }; protected constructor(server: Server, conf: { path: string, deprecated?: boolean, maintenance?: boolean }) { + this.conf = { + path: null, + deprecated: false, + maintenance: false, + }; this.server = server; this.router = router(); this.conf = conf;