diff options
| author | Fuwn <[email protected]> | 2024-02-07 04:09:43 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-07 04:09:43 -0800 |
| commit | d43edc045bbc0548e5fc31105fc4c362dc287dde (patch) | |
| tree | e031a6dc3e7c9798aa234171e84ceb18391f0ea8 /src/lib/Utility | |
| parent | fix(hololive): call reload directly (diff) | |
| download | due.moe-d43edc045bbc0548e5fc31105fc4c362dc287dde.tar.xz due.moe-d43edc045bbc0548e5fc31105fc4c362dc287dde.zip | |
fix(hololive): proxy schedule
Diffstat (limited to 'src/lib/Utility')
| -rw-r--r-- | src/lib/Utility/proxy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Utility/proxy.ts b/src/lib/Utility/proxy.ts index 11c87db8..6cf35e96 100644 --- a/src/lib/Utility/proxy.ts +++ b/src/lib/Utility/proxy.ts @@ -1,7 +1,7 @@ import { env } from '$env/dynamic/public'; export const proxy = (url: string, disable = false) => - env.PUBLIC_ANILIST_REDIRECT_URI?.includes('localhost') || disable + env.PUBLIC_ANILIST_REDIRECT_URI?.includes('localhost') && !disable ? url : `https://proxy.due.moe/?q=${url}`; |