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 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():