summaryrefslogtreecommitdiff
path: root/src/routers/tmwa/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routers/tmwa/index.js')
-rw-r--r--src/routers/tmwa/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routers/tmwa/index.js b/src/routers/tmwa/index.js
index 495240b..f3eeb72 100644
--- a/src/routers/tmwa/index.js
+++ b/src/routers/tmwa/index.js
@@ -23,7 +23,7 @@ module.exports = exports = class TMWA {
this.router.get("/server", middlewares.server);
this.router.all("/account", rate_limit, challenge); // flood limit + captcha
- this.router.post("/account", express.json(), middlewares.account);
+ this.router.all("/account", express.json(), middlewares.account);
tmwa_poll(this); // first heartbeat