We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ace54 commit 9542fa3Copy full SHA for 9542fa3
reflex/utils/codespaces.py
@@ -52,9 +52,11 @@ def redirect_script() -> str:
52
if (params.has("redirect_to")) {{
53
const redirect_to = new URL(params.get("redirect_to"));
54
if (!sameHostnameDifferentPort(thisUrl, redirect_to)) {{
55
+ console.warn("Reflex: Not redirecting to different hostname");
56
return;
57
}}
58
if (!redirect_to.hostname.endsWith(".app.github.dev")) {{
59
+ console.warn("Reflex: Not redirecting to non .app.github.dev hostname");
60
61
62
a.href = redirect_to.href;
0 commit comments