diff options
Diffstat (limited to 'client/src/utils/constants.js')
-rw-r--r-- | client/src/utils/constants.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js index 2583f6c..8d409f6 100644 --- a/client/src/utils/constants.js +++ b/client/src/utils/constants.js @@ -1,4 +1,6 @@ +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 URL_REGEX = /^(https?:\/\/)?([\w.-]+\.[a-z]{2,})(\/?[^\s]*)?$/; export const SUPPORTED_LANGUAGES = [{ value: "none", label: "Plain Text", |