We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d407c00 commit 120198fCopy full SHA for 120198f
2 files changed
.changeset/silver-planes-guess.md
@@ -0,0 +1,5 @@
1
+---
2
+"gradio": patch
3
4
+
5
+fix:Fixes LoginButton for SSR
gradio/routes.py
@@ -364,10 +364,12 @@ async def conditional_routing_middleware(
364
getattr(blocks, "node_process", None) is not None
365
and blocks.node_port is not None
366
and not path.startswith("/gradio_api")
367
- and path not in ["/config", "/login", "/favicon.ico"]
+ and path not in ["/config", "/favicon.ico"]
368
and not path.startswith("/theme")
369
and not path.startswith("/svelte")
370
and not path.startswith("/static")
371
+ and not path.startswith("/login")
372
+ and not path.startswith("/logout")
373
):
374
if App.app_port is None:
375
App.app_port = request.url.port or int(
0 commit comments