File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " gradio " : patch
3
+ ---
4
+
5
+ fix: Fixes LoginButton for SSR
Original file line number Diff line number Diff line change @@ -364,10 +364,12 @@ async def conditional_routing_middleware(
364
364
getattr (blocks , "node_process" , None ) is not None
365
365
and blocks .node_port is not None
366
366
and not path .startswith ("/gradio_api" )
367
- and path not in ["/config" , "/login" , "/ favicon.ico" ]
367
+ and path not in ["/config" , "/favicon.ico" ]
368
368
and not path .startswith ("/theme" )
369
369
and not path .startswith ("/svelte" )
370
370
and not path .startswith ("/static" )
371
+ and not path .startswith ("/login" )
372
+ and not path .startswith ("/logout" )
371
373
):
372
374
if App .app_port is None :
373
375
App .app_port = request .url .port or int (
You can’t perform that action at this time.
0 commit comments