From 983695db46afb0fc70d8f7534da71b23b6d769fb Mon Sep 17 00:00:00 2001 From: mrfry Date: Wed, 12 Apr 2023 12:35:53 +0200 Subject: [PATCH] api url fix --- src/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.js b/src/constants.js index 0f42fdf..8139c7b 100644 --- a/src/constants.js +++ b/src/constants.js @@ -3,7 +3,7 @@ const useLocalhost = process && process.env.NODE_ENV === 'development' const constants = { siteUrl: useLocalhost ? 'http://localhost:8080/' : '/', - apiUrl: useLocalhost ? 'http://localhost:8080/api/' : '/', + apiUrl: useLocalhost ? 'http://localhost:8080/api/' : '/api/', maxQuestionsToRender: 250, }