pub fn base_path() -> Option<String>
Expand description
Get the path where the application will be served from.
This is used by the router to format the URLs. For example, an app with a base path of dogapp
will
be served at http://localhost:8080/dogapp
.
All assets will be served from this base path as well, ie http://localhost:8080/dogapp/assets/logo.png
.