mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
Static files (CSS, JS) were served via ServeDir using CARGO_MANIFEST_DIR which only exists on the build machine, not on deployed servers. This caused: white unstyled page, always-visible loading indicators, and broken manifest loading. - Embed style.css and htmx.min.js into the binary via include_str! - Serve them from dedicated handlers with proper content-type and caching - Move Google Fonts from CSS @import to <link> tags with preconnect for non-blocking font loading - Remove ServeDir dependency from routes |
||
|---|---|---|
| .. | ||
| style.css | ||