Skip to content

Commit 48ae2fd

Browse files
Update shiny/_main.py
Co-authored-by: Barret Schloerke <[email protected]>
1 parent 41f1a65 commit 48ae2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def run_app(
334334
# Workaround for nginx/uvicorn issue within Workbench
335335
# https://github.com/rstudio/rstudio-pro/issues/7368#issuecomment-2918016088
336336
deflate_args: DeflateArgs = {}
337-
if os.getenv("RS_SERVER_URL"):
337+
if is_workbench():
338338
deflate_args = {
339339
"ws_per_message_deflate": False,
340340
}

0 commit comments

Comments
 (0)