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

thread 'tokio-runtime-worker' panicked at 'Paths must start with a /', #4

Open
0awful opened this issue Jan 11, 2023 · 1 comment
Open

Comments

@0awful
Copy link

0awful commented Jan 11, 2023

Upon running trunk serve I receive this error

Full Error

2023-01-11T03:53:08.421068Z INFO ✅ success
thread 'tokio-runtime-worker' panicked at 'Paths must start with a /', /home/guest/.cargo/registry/src/github.com-1ecc6299db9ec823/axum-0.5.17/src/routing/mod.rs:134:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Aborted (core dumped)

Modifying Trunk.toml to

[build]
public_url = "/"

corrects the issue.

I'm unaware of the implications of such a change. A PR will follow

@0awful
Copy link
Author

0awful commented Jan 11, 2023

#5 addresses the issue. Unsure of possible unintended consequences. Builds on my machine (ubuntu-linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant