framesurge / perseus

A state-driven web development framework for Rust with full support for server-side rendering and static generation.
https://framesurge.sh/perseus/en-US
MIT License
2.18k stars 89 forks source link

Add user feedback to deployed project server #164

Closed allen-woods closed 2 years ago

allen-woods commented 2 years ago

This issue is requesting an enhancement to Perseus. Details of the scope will be available in issue labels. The user described the problem related to this request as follows:

No user feedback is supplied when a server is running.

The user described the issue as follows:

The server of a deployed project should provide user feedback regarding the status of the server, the value of PERSEUS_HOST and the value of PERSEUS_PORT while it is in use. This could be achieved with a simple println! or format! macro.

  • The author is willing to attempt an implementation: true
Tribble internal data dHJpYmJsZS1yZXBvcnRlZCxDLWVuaGFuY2VtZW50LGF1dGhvci13aWxsaW5nLXRvLWltcGw=
arctic-hen7 commented 2 years ago

Perfectly reasonable! It's worth noting that a deployed server binary will automatically print full errors as well if they occur. I'll get on this in the next few days.