Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Bug – Page doesn't load if the path has more than two components /one/two #174

Closed
ludat opened this issue Apr 14, 2024 · 2 comments
Labels
πŸš€ Next release This will ship with the next Elm Land release

Comments

@ludat
Copy link

ludat commented Apr 14, 2024

Problem

After upgrading to 0.20.0, the app just shows a blank page for pages that have nested routes, after looking at the console I see that the html points to <script type="module" src="./.elm-land/server/main.js"></script> so the resolved route gets a 404 from the server

Your setup

  • node -v: v20.11.1
  • elm-land -v: 🌈 Elm Land (v0.20.0) is currently installed.
@ryan-haskell ryan-haskell added the πŸš€ Next release This will ship with the next Elm Land release label Apr 15, 2024
@ryan-haskell
Copy link
Contributor

Thank you, @ludat – this issue has been fixed in a PR that will go out later tonight! πŸš€

@ludat
Copy link
Author

ludat commented Apr 15, 2024

Just checked and this is fixed by #175, thanks!

@ludat ludat closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸš€ Next release This will ship with the next Elm Land release
Development

No branches or pull requests

2 participants