Skip to content

Commit ba1579a

Browse files
committed
use new cors proxy
1 parent d380be2 commit ba1579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
}
220220

221221
// cors proxy impl details :'(
222-
const finalUrl = response.headers.get("X-Final-Url") ?? url;
222+
const finalUrl = response.headers.get("X-Final-Url") ?? absoluteUrl;
223223
const redirectUrl = absoluteUrl !== finalUrl ? removeDeploymentBaseUrl(new URL(finalUrl).pathname) : undefined;
224224

225225
// console.log(redirectUrl)

0 commit comments

Comments
 (0)