From 2eb23da9cdcf6f9c099f63fe8a02794cfd74d1f7 Mon Sep 17 00:00:00 2001 From: rozetko Date: Wed, 28 Dec 2022 14:45:42 +0300 Subject: [PATCH] `/api/tasks` -> `/api/task` --- src/routes/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api.ts b/src/routes/api.ts index 9c808d8..49a57b3 100644 --- a/src/routes/api.ts +++ b/src/routes/api.ts @@ -9,6 +9,6 @@ export const router = express.Router(); router.use('/status', statusRouter); -router.use('/tasks', tasksRouter); +router.use('/task', tasksRouter); router.use('/static', express.static(EXPORTED_PATH));