Re-exports§
pub use crate::axum::serve_files_with_script;
Modules§
Structs§
- Fronted
Environment - Map of values that will be provided as environment-variable-like global variables to the frontend.
Functions§
- inject_
environment_ script_ tag - Rewrites HTML to inject a
<script>
tag (which contains global JS variables that act like environment variables) into the<head>
tag.