-
Notifications
You must be signed in to change notification settings - Fork 90
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
trunk serve is broken #99
Comments
Changing the path from |
Using |
Could that not be fixed with |
That might work if you know the path, yes. In the case of itch you would first have to deploy a broken build to get the path (e.g. |
Fair enough, I've never deployed to Itch.io before. |
It seems Trunk has recently fixed this. Using version [build]
public_url = "./" The serve command works properly and |
I'll close this issue by updating the |
Resolved with Trunk |
The trunk configuration from #90 is a proper solution to issues with absolute URLs in web builds but broke
trunk serve
, which doesn't like paths starting with a dot. Overwriting the URL in theserve
section ofTrunk.toml
doesn't work since Trunk will add a leading "/" to the path. This should get fixed with trunk-rs/trunk#674Find a setup that doesn't require ugly sed commands like before #90 but works out of the box with
trunk build
andtrunk serve
.The text was updated successfully, but these errors were encountered: