From d43edc045bbc0548e5fc31105fc4c362dc287dde Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 7 Feb 2024 04:09:43 -0800 Subject: fix(hololive): proxy schedule --- src/lib/Utility/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Utility') 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}`; -- cgit v1.2.3