diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-06-15 17:33:47 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-06-15 17:33:47 +0200 |
| commit | b43985a19308cc47a7af9b74f74efdfc54be7a83 (patch) | |
| tree | 737a42da37bd5060ea7df581046382157696e8be /src/z/root.zig | |
| parent | 0eb3273f257e096c398ec324a1d2d755ec19a43d (diff) | |
add headers mechanism to responsedev
Diffstat (limited to 'src/z/root.zig')
| -rw-r--r-- | src/z/root.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/z/root.zig b/src/z/root.zig index 26bbffc..b23ebc5 100644 --- a/src/z/root.zig +++ b/src/z/root.zig @@ -25,7 +25,10 @@ pub const html: File = .{ }; pub fn env(comptime components: []const Component) Element { - var children: []const Element = &.{script.load(@embedFile("z.js"))}; + var children: []const Element = &.{ + script.load(@embedFile("z.js")), + script.load(@embedFile("rest.js")), + }; inline for (components) |c| { const child: []const Element = &.{c.toElement()}; |