diff --git a/Gestion/src/config/index.js b/Gestion/src/config/index.js
index a585344c8fa020ec6e4ea1f3e5e28a29455a5b8e..517404671c106336f569e465fcfd5b2f2df1d7a1 100644
--- a/Gestion/src/config/index.js
+++ b/Gestion/src/config/index.js
@@ -1,11 +1,5 @@
 'use strict'
-// https://stackoverflow.com/questions/44750008/vuejs-configuration-using-a-global-variable
 module.exports = {
-  'API_LOCATION': process.env.NODE_ENV === 'production'
-    ? 'https://canap-gest.epfl.ch/api'
-    : 'http://localhost:8181/api',
-  'LOGIN_REDIRECT': process.env.NODE_ENV === 'production'
-    ? 'https://canap-gest.epfl.ch/api/auth/login'
-    : 'http://localhost:8181/api/auth/login',
-
+  'API_LOCATION': "/api",
+  'LOGIN_REDIRECT': "/api/auth/login"
 }