diff --git a/web/src/api/baseUrl.js b/web/src/api/baseUrl.js index dc2303d87..96559c9a8 100644 --- a/web/src/api/baseUrl.js +++ b/web/src/api/baseUrl.js @@ -1,2 +1,2 @@ import { API_HOST } from '../env'; -export const baseUrl = API_HOST || window.baseUrl || `${window.location.protocol}//${window.location.host}`; +export const baseUrl = API_HOST || `${window.location.protocol}//${window.location.host}${window.baseUrl || ''}`;