Function rustream::jinja::environment
source · pub fn environment() -> Arc<Mutex<Environment<'static>>>Expand description
Reads all the HTML files in templates directory and loads the content into a Jinja Environment
§Rendered files
- Index page template that is served as HTML response for the root endpoint.
- Landing page template that is served as HTML response while streaming videos.
- Listing page template that is served as HTML response after successful authentication.
- Logout page template that is served as HTML response when the user decides to end the session.
- Session page template that is served as HTML response when invalid/expired session tokens are received.
- Unauthorized page template that is served as HTML response after failed authentication.