╭ changed ──╮ │src/web.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────╮ │143 } │ │144 │ │145 fn handleRequest( │ │146 + io: std.Io, │ │147 http_server: *std.http.Server, │ │148 request: *std.http.Server.Request,│ │149 allocator: std.mem.Allocator, │ ╰───────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │150 + admin_repo_path: []const u8, │ │151 ) !void { │ │152 const method = if (request.head.method == .HEAD) .GET else request.head.method;│ │153 if (method != .GET) { │ ╰────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │182 } │ │183 │ │184 if (std.mem.eql(u8, asset.path, "index.html")) { │ │162 - const index_html = try renderIndexHtml(allocator); │ │185 + const index_html = try renderIndexHtml(io, allocator, admin_repo_path); │ │186 defer allocator.free(index_html); │ │187 try writeStaticResponse(http_server, 200, "OK", asset.content_type, index_html, request.head.method == .HEAD);│ │188 } else { │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯