diff options
| author | Ritesh Ghosh <[email protected]> | 2024-03-03 20:05:18 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-03-03 20:05:18 +0530 |
| commit | a6f99bf681d27483d6f214c48673b875d3cbf6ab (patch) | |
| tree | 8fa35860650501f90a5bf1a5f91ea18195d1e454 /src | |
| parent | eea621b17a14363b003382ea237cd43361bc5df9 (diff) | |
| download | aniwatch-api-a6f99bf681d27483d6f214c48673b875d3cbf6ab.tar.xz aniwatch-api-a6f99bf681d27483d6f214c48673b875d3cbf6ab.zip | |
feat: update rebranded domain name
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 08499ee..21a6db8 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -9,7 +9,8 @@ export const USER_AGENT_HEADER = export const ACCEPT_HEADER = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"; -const DOMAIN = process.env.DOMAIN || "aniwatchtv.to"; +// previously aniwatch.to || aniwatchtv.to +const DOMAIN = process.env.DOMAIN || "hianime.to"; export const SRC_BASE_URL = `https://${DOMAIN}`; export const SRC_AJAX_URL = `${SRC_BASE_URL}/ajax`; |
