Hydrospheredata / mist

Serverless proxy for Spark cluster
http://hydrosphere.io/mist/
Apache License 2.0
326 stars 68 forks source link

Configure /ui/ path #456

Closed austinnichols101 closed 6 years ago

austinnichols101 commented 6 years ago

I would like a configuration option to control the path that mist uses to serve the application.

Users navigating to the / receive a message The requested resource could not be found. instead of the mist application.

dos65 commented 6 years ago

Maybe it would be better to provide some valid response from root endpoint? Something like :

Mist: $version
ui: $link_on_ui
status: $link_on_status
austinnichols101 commented 6 years ago

Either that or just redirect / to /ui by default.

dos65 commented 6 years ago

I decided it's better to respond on / with minimalistic html page (#464 ). The main part of http is the raw http api, so I think receiving a big html page can be a little bit confusing if user test mist using curl or some http client.