You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.
The README generated for my project with Chestnut 0.15.1 states:
Figwheel's server will also act as your app server, so requests are correctly forwarded to the http-handler you define.
However, Compojure routes defined in project.routes/home-routes are not accessible through Figwheel's server at localhost:3449, but through the Jetty instance running on localhost:10555.
Is there a way to expose new routes through Figwheel's HTTP server?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, we'll likely change this back because the different ports are confusing people. In the meanwhile this should be removed from the README. I don't have time for it at the moment though but it would be great if someone could submit a PR.
What you can do as a workaround is put this in user.clj
If you really want to also serve up things through Figwheel you can set up a handler that reaches into reloaded.repl/system and finds the current system's handler from there.
Hi!
The README generated for my project with Chestnut 0.15.1 states:
However, Compojure routes defined in
project.routes/home-routes
are not accessible through Figwheel's server at localhost:3449, but through the Jetty instance running on localhost:10555.Is there a way to expose new routes through Figwheel's HTTP server?
Thanks in advance!
The text was updated successfully, but these errors were encountered: