From 019f36b6ed61d0f00f5c28093f5fb85348424813 Mon Sep 17 00:00:00 2001 From: Sverre Nystad Date: Fri, 5 Jan 2024 02:01:23 +0100 Subject: [PATCH] Fix: Update API routes to end with backslash --- frontend/src/routes/routesDefinitions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/routesDefinitions.ts b/frontend/src/routes/routesDefinitions.ts index 19d3e95c..a4b2f02e 100644 --- a/frontend/src/routes/routesDefinitions.ts +++ b/frontend/src/routes/routesDefinitions.ts @@ -1,9 +1,9 @@ const baseAPIUrl: string = "http://127.0.0.1:8000/api"; const apiRoutes = { - upload: `${baseAPIUrl}/upload`, - login: `${baseAPIUrl}/login`, - signup: `${baseAPIUrl}/signup`, + upload: `${baseAPIUrl}/upload/`, + login: `${baseAPIUrl}/login/`, + signup: `${baseAPIUrl}/signup/`, }; export default apiRoutes;