aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-08-03 17:07:05 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-08-03 17:07:05 +0200
commit0bc6d195195d1e126b535554a4a4105468cd06d9 (patch)
tree6a3288e56bd306db499e597fc53762d05a7c3b82 /src/main.zig
parent77642e5081b4ed2516dc08b3ef611c3c444ec6c5 (diff)
add tokenizer for whitespaces in js
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main.zig b/src/main.zig
index a429d14..176d3b2 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -12,11 +12,7 @@ const web = @import("web/root.zig");
const routes: http.RouteSet = .init(api.interfaces ++ web.interfaces);
pub fn main(init: std.process.Init) !void {
- try http.serve(
- init.gpa,
- routes,
- .{
- .address = try .parseLiteral("0.0.0.0:8080"),
- }
- );
+ try http.serve(init.gpa, routes, .{
+ .address = try .parseLiteral("0.0.0.0:8080"),
+ });
}