diff options
Diffstat (limited to 'src/http.zig')
-rw-r--r-- | src/http.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http.zig b/src/http.zig index 746e843b9..6b34adac4 100644 --- a/src/http.zig +++ b/src/http.zig @@ -1461,7 +1461,7 @@ pub const RequestContext = struct { handler.start_timer = std.time.Timer.start() catch unreachable; Output.Source.configureThread(); - @import("bun.js/javascript_core_c_api.zig").JSCInitialize(); + bun.JSC.initialize(); js_ast.Stmt.Data.Store.create(bun.default_allocator); js_ast.Expr.Data.Store.create(bun.default_allocator); @@ -3506,7 +3506,7 @@ pub const Server = struct { const addr = listener.listen_address; if (server.bundler.options.origin.getPort() != addr.getPort()) { - server.bundler.options.origin = ZigURL.parse(try std.fmt.allocPrint(server.allocator, "{s}://{s}:{d}", .{server.bundler.options.origin.displayProtocol(), server.bundler.options.origin.displayHostname(), addr.getPort()})); + server.bundler.options.origin = ZigURL.parse(try std.fmt.allocPrint(server.allocator, "{s}://{s}:{d}", .{ server.bundler.options.origin.displayProtocol(), server.bundler.options.origin.displayHostname(), addr.getPort() })); } const start_time = Global.getStartTime(); |