toverainc / willow-application-server

Willow Application Server
Apache License 2.0
19 stars 9 forks source link

Better handling for / #29

Closed kristiankielhofner closed 1 year ago

kristiankielhofner commented 1 year ago

WAS currently responds with Hello World JSON at /.

When the WAS web ui is served via FastAPI/WAS we should respond with something more meaningful for users accessing WAS with a browser.

We should serve up simple nginx/apache style default HTML that at least lets the user know they have correctly accessed their WAS installation. For flexibility and future use it should include links to docs at heywillow.io, links to the admin interface, and potentially a reference to the FastAPI autogenerated documentation for the WAS API.

kristiankielhofner commented 1 year ago

wasng performs a redirect from / to /admin