From c5a413da96b96e3f16bacc9dd8bb1d71e7fa8336 Mon Sep 17 00:00:00 2001 From: Winston Chang Date: Fri, 31 May 2024 20:47:33 -0500 Subject: [PATCH 1/2] Use absolute path to Express app --- shiny/express/_run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shiny/express/_run.py b/shiny/express/_run.py index dbbd090f2..ab993e20c 100644 --- a/shiny/express/_run.py +++ b/shiny/express/_run.py @@ -43,6 +43,8 @@ def wrap_express_app(file: Path) -> App: A :class:`shiny.App` object. """ + file = file.resolve() + try: globals_file = file.parent / "globals.py" if globals_file.is_file(): From 4bd3433a244adda88cf11f8d7d4ce5bc1a629756 Mon Sep 17 00:00:00 2001 From: Winston Chang Date: Fri, 31 May 2024 20:51:03 -0500 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b03e737c8..2479fed3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug fixes +* Fixed #1440: When a Shiny Express app with a `www/` subdirectory was deployed to shinyapps.io or a Connect server, it would not start correctly. (#1442) + ### Other changes ## [0.10.2] - 2024-05-28