| ... | ... | @@ -9,6 +9,7 @@ const uri = @import("uri"); |
| 9 | 9 | const zfetch = @import("zfetch"); |
| 10 | 10 | const json = @import("json"); |
| 11 | 11 | const extras = @import("extras"); |
| 12 | const Base = @This(); |
| 12 | 13 | |
| 13 | 14 | pub const Provider = struct { |
| 14 | 15 | id: string, |
| ... | ... | @@ -245,7 +246,7 @@ pub fn Handlers(comptime T: type) type { |
| 245 | 246 | try response.headers.put("Content-Type", "text/html"); |
| 246 | 247 | const page = files.@"/selector.pek"; |
| 247 | 248 | const tmpl = comptime pek.parse(page); |
| 248 | | try pek.compile(alloc, response.writer(), tmpl, .{ |
| 249 | try pek.compile(Base, alloc, response.writer(), tmpl, .{ |
| 249 | 250 | .clients = Self.clients, |
| 250 | 251 | }); |
| 251 | 252 | } |