diff options
author | 2023-01-12 16:26:25 -0800 | |
---|---|---|
committer | 2023-01-12 16:26:25 -0800 | |
commit | 90be2543734609bcf917da869c25bf441de5bd7c (patch) | |
tree | 6a59ed022e0800c6a8e74942564e5613eb3edeba /src/runtime.zig | |
parent | 034dd3d03d05d5052e7c2ad1f17702583959e5e2 (diff) | |
download | bun-90be2543734609bcf917da869c25bf441de5bd7c.tar.gz bun-90be2543734609bcf917da869c25bf441de5bd7c.tar.zst bun-90be2543734609bcf917da869c25bf441de5bd7c.zip |
fix missing error page
Diffstat (limited to '')
-rw-r--r-- | src/runtime.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime.zig b/src/runtime.zig index c942afb13..197dc4264 100644 --- a/src/runtime.zig +++ b/src/runtime.zig @@ -116,7 +116,6 @@ pub const Fallback = struct { }; pub inline fn scriptContent() string { - if (true) return; if (comptime Environment.isDebug) { var dirpath = comptime bun.Environment.base_path ++ std.fs.path.dirname(@src().file).?; var env = std.process.getEnvMap(default_allocator) catch unreachable; @@ -166,7 +165,6 @@ pub const Fallback = struct { fallback: string, entry_point: string, }; - if (true) return; try writer.print(HTMLTemplate, PrintArgs{ .blob = Base64FallbackMessage{ .msg = msg, .allocator = allocator }, .preload = preload, @@ -188,7 +186,6 @@ pub const Fallback = struct { fallback: string, bun_error_page_css: string, }; - if (true) return; try writer.print(HTMLBackendTemplate, PrintArgs{ .blob = Base64FallbackMessage{ .msg = msg, .allocator = allocator }, .bun_error_css = ErrorCSS.sourceContent(), |