diff --git a/scripts/build.mjs b/scripts/build.mjs index 70a3830..4fbf3a8 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -77,7 +77,7 @@ const config = { constModules: { globals: { "bunny-build-info": { - version: `"1.1.9-1"`, + version: `"1.1.9-2"`, }, }, }, diff --git a/src/core/vendetta/plugins.ts b/src/core/vendetta/plugins.ts index 76fab8e..a18e17e 100644 --- a/src/core/vendetta/plugins.ts +++ b/src/core/vendetta/plugins.ts @@ -48,14 +48,18 @@ const pluginInstance: Record = {}; export const VdPluginManager = { plugins, async pluginFetch(url: string) { - if (url.startsWith(VD_PROXY_PREFIX)) { - url = url - .replace( - "https://bunny-mod.github.io/plugins-proxy", - BUNNY_PROXY_PREFIX, - ) - .replace(VD_PROXY_PREFIX, BUNNY_PROXY_PREFIX); - } + // was causing problems, dumb me with redirections + // :3 + // No redirection: use VD_PROXY_PREFIX as intended + // if (url.startsWith(VD_PROXY_PREFIX)) { + // url = url + // .replace( + // "https://bunny-mod.github.io/plugins-proxy", + // BUNNY_PROXY_PREFIX, + // ) + // .replace(VD_PROXY_PREFIX, BUNNY_PROXY_PREFIX); + // } + // End of pluginFetch function block return await safeFetch(url, { cache: "no-store" }); },