From 1706b8cbc1133b00679ef79738cd9b677ec98303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pesti=20Tam=C3=A1s?= <pesti.tamas@hallgato.ppke.hu> Date: Wed, 15 May 2024 22:11:56 +0200 Subject: [PATCH] Make nginx apiURL the default --- frontend/src/axiosConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/axiosConfig.js b/frontend/src/axiosConfig.js index 16a46d9..33bf01d 100644 --- a/frontend/src/axiosConfig.js +++ b/frontend/src/axiosConfig.js @@ -1,4 +1,4 @@ export {default as axios} from 'axios'; -export const apiURL = 'http://localhost:8080/api'; // local development -// export const apiURL = '/api'; // nginx +// export const apiURL = 'http://localhost:8080/api'; // local development +export const apiURL = '/api'; // nginx -- GitLab