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
It'd be nice if this were output in the terminal, as currently it only states the default http://127.0.0.1:8080/, this way users can click-through to the app they're running.
The text was updated successfully, but these errors were encountered:
Making it print the current state of the router would be simple enough, but what does it provide? If the user starts their project then the router, the list is out of date. Starting/restarting projects after the router has started also leads to an out of date list.
Printing the assigned route when a project starts (ie crab web) might be more useful and make going to a project easier?
Correct, There's 1 crab router, which handles routing traffic from the given port to the specific project.
A process is routable if it's got a $VIRTUAL_HOST and has been allocated a port when it's executed. crab could print the allocated $VIRTUAL_HOST in that situation, which should be simple enough. The log message would need to be clearly not a part of the underlying application, which may be tricky, but not impossible.
RealOrangeOne
changed the title
Output current route (VIRTUAL_HOST) when starting the router
Output current route (VIRTUAL_HOST) when starting a routable process
Feb 12, 2020
It'd be nice if this were output in the terminal, as currently it only states the default
http://127.0.0.1:8080/
, this way users can click-through to the app they're running.The text was updated successfully, but these errors were encountered: