From 51bd2f72fd28e70ec228926add959341b4bbc088 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 16 Aug 2024 23:41:20 +0600 Subject: [PATCH] api/core: fix typo --- api/src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/core/api.js b/api/src/core/api.js index 60fdf86c..44deb7c9 100644 --- a/api/src/core/api.js +++ b/api/src/core/api.js @@ -101,7 +101,7 @@ export function runAPI(express, app, __dirname) { }) app.use('/', express.json({ limit: 1024 })); - app.use('/post', (err, _, res, next) => { + app.use('/', (err, _, res, next) => { if (err) { const { status, body } = createResponse("error", { code: "error.body_invalid",