From cae4c9c2cdd8948ff66dac8d0919eff65a178d50 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 28 Mar 2020 04:56:38 -0400 Subject: [PATCH] disable all api routes temporarily --- src/api/routes/Account.ts | 2 +- src/api/routes/Root.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/routes/Account.ts b/src/api/routes/Account.ts index 8a10596..6f7920c 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 }); + super(server, { path: '/account', deprecated: false, maintenance: true }); } public bind() { diff --git a/src/api/routes/Root.ts b/src/api/routes/Root.ts index a1e5766..41f8466 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 }); + super(server, { path: '/', deprecated: false, maintenance: true }); } public bind() {