authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-06-12 19:16:27 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-06-12 19:16:27 -07:00
log63795e0f74f5f7d0c884e42dcceae93ae5827f30
tree91a6bd6ca431640976ef9b17f890394151882ad0
parentfd60720bdadf610c668887616289b0b6509d2187

oops was using the wrong writer


1 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1-1
...@@ -237,7 +237,7 @@ pub fn Handlers(comptime T: type) type {...@@ -237,7 +237,7 @@ pub fn Handlers(comptime T: type) type {
237 try response.headers.append("Content-Type", "text/html");237 try response.headers.append("Content-Type", "text/html");
238 const page = files.@"/selector.pek";238 const page = files.@"/selector.pek";
239 const tmpl = comptime pek.parse(page);239 const tmpl = comptime pek.parse(page);
240 try pek.compile(Base, alloc, response.writer(), tmpl, .{240 try pek.compile(Base, alloc, body_writer, tmpl, .{
241 .clients = Self.clients,241 .clients = Self.clients,
242 });242 });
243 }243 }