feat(console): embed the management UI in release binaries
- build locked Web dependencies automatically for release profiles - keep debug Cargo builds independent from the Vite development server - embed generated Host, Page, manifest, and service worker assets - serve exact control-plane assets with MIME and cache headers - reject non-canonical and unknown paths without an SPA fallback - cover embedded document boundaries and path validation
This commit is contained in:
@@ -23,6 +23,8 @@ license = "Apache-2.0"
|
||||
[workspace.dependencies]
|
||||
axum = { version = "0.8.9", features = ["multipart"] }
|
||||
base64 = "0.23.0"
|
||||
include_dir = "0.7.4"
|
||||
mime_guess = "2.0.5"
|
||||
reqwest = { version = "0.13.4", default-features = false, features = ["blocking", "json", "multipart", "rustls"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.149"
|
||||
|
||||
Reference in New Issue
Block a user