From 65300a13dcd11037218bf8ba61efd8ca19e5920e Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 19 Oct 2026 18:03:59 +0200 Subject: add favicon --- src/main.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index cb8c2ad..ec3b2fd 100644 --- a/src/main.zig +++ b/src/main.zig @@ -13,6 +13,7 @@ const wasm = @embedFile("wasm"); const routes: http.RouteSet = .init(&([_]http.handler.Interface{ http.handler.Static(.index, site.app.html, "text/html").interface(), http.handler.Static(.{"index.wasm"}, wasm, "application/wasm").interface(), + http.handler.Static(.{"icon.png"}, @embedFile("favicon.png"), "image/png").interface(), }) ++ api.interfaces); pub fn main(init: std.process.Init) !void { -- cgit v1.2.3-70-g09d2