Fix hcaptcha, discord still has the issue with "Invalid remote authentication ticket", but this is feature parity with UV

This commit is contained in:
wearrrrr 2024-07-15 20:56:46 -05:00
parent a375e46dea
commit 7e89193170
4 changed files with 6 additions and 3 deletions

View file

@ -23,7 +23,7 @@ initSync(new WebAssembly.Module(
Uint8Array.from(atob(self.WASM), c => c.charCodeAt(0))
))
export function rewriteJs(js: string) {
export function rewriteJs(js: string, origin?: URL) {
const f = rewrite_js(js);
return f