feat: mobile setup — QR onboarding, Wi-Fi scoped mobileconfig #73

Merged
razvandimescu merged 5 commits from chore/site-updates into main 2026-04-11 03:21:51 +08:00
Showing only changes of commit bc44e8090e - Show all commits

View File

@@ -956,10 +956,13 @@ async fn serve_qr(State(ctx): State<Arc<ServerCtx>>) -> Result<impl IntoResponse
.dark_color(qrcode::render::svg::Color("#2c2418"))
.light_color(qrcode::render::svg::Color("#faf7f2"))
.build();
Ok(([
Ok((
[
(header::CONTENT_TYPE, "image/svg+xml"),
(header::CACHE_CONTROL, "no-store"),
], svg))
],
svg,
))
}
async fn serve_fonts_css() -> impl IntoResponse {