mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 04:23:34 -06:00
feat: add conditional asset embedding with dev/prod build separation
- Add embed-assets feature flag to make rust-embed/mime_guess optional - Update Justfile with backend-dev command for development (no embedded assets) - Add CORS middleware when assets not embedded (for Vite proxy) - Improve db recipe with Bun script supporting start/reset/rm commands
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
//! Web API module for the banner application.
|
||||
|
||||
#[cfg(feature = "embed-assets")]
|
||||
pub mod assets;
|
||||
pub mod routes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user