diff options
Diffstat (limited to 'client/src/utils/constants.js')
-rw-r--r-- | client/src/utils/constants.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js index adb01a3..e783114 100644 --- a/client/src/utils/constants.js +++ b/client/src/utils/constants.js @@ -1,5 +1,4 @@ -export const CLIENT_BASE_URL = import.meta.env.VITE_CLIENT_BASE_URL; -export const SERVER_BASE_URL = import.meta.env.VITE_SERVER_BASE_URL; +export const BASE_URL = window.location.origin; export const URL_REGEX = /^(https?:\/\/)?([\w.-]+\.[a-z]{2,})(\/?[^\s]*)?$/; export const SUPPORTED_LANGUAGES = [ { |