aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-07 14:47:59 +0530
committerRitesh Ghosh <[email protected]>2023-08-07 14:47:59 +0530
commit5e58fba71800969c3e84d48640eca16363058286 (patch)
tree44a06951a8ec9e04b76c64e9b8cfa94a42692a04 /src/utils
parentb44b31c216a9804a4c6bed34618fca82046a926e (diff)
downloadaniwatch-api-5e58fba71800969c3e84d48640eca16363058286.tar.xz
aniwatch-api-5e58fba71800969c3e84d48640eca16363058286.zip
chore(utils): refactored constants
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/constants.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
new file mode 100644
index 0000000..0c38643
--- /dev/null
+++ b/src/utils/constants.ts
@@ -0,0 +1,10 @@
+import env from "../config/env";
+
+export const USER_AGENT_HEADER = env.APP_SRC_USER_AGENT;
+export const ACCEPT_HEADER = env.APP_SRC_ACCEPT_HEADER;
+export const ACCEPT_ENCODING_HEADER = env.APP_SRC_ACCEPT_ENCODING_HEADER;
+
+export const SRC_BASE_URL = env.APP_SRC_BASE_URL;
+export const SRC_AJAX_URL = env.APP_SRC_AJAX_URL;
+export const SRC_HOME_URL = env.APP_SRC_HOME_URL;
+export const SRC_SEARCH_URL = env.APP_SRC_SEARCH_URL;