aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 03:58:35 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 03:58:35 -0800
commitbdb5e4aa56fe48202f7c94982837ef72167b5408 (patch)
treec1b9e0d9e03f472091ec05d1f682f20fed9bf206
parent026657d83b7c9143f6cea823c406438c58d18f7b (diff)
downloadbun-bdb5e4aa56fe48202f7c94982837ef72167b5408.tar.gz
bun-bdb5e4aa56fe48202f7c94982837ef72167b5408.tar.zst
bun-bdb5e4aa56fe48202f7c94982837ef72167b5408.zip
Update options.zig
-rw-r--r--src/options.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.zig b/src/options.zig
index b110e50ee..841b0b6d7 100644
--- a/src/options.zig
+++ b/src/options.zig
@@ -1546,7 +1546,7 @@ pub const BundleOptions = struct {
if (!opts.routes.single_page_app_routing and should_try_to_find_a_index_html_file) {
attempt: {
- var abs_buf: [_global.MAX_PATH_BYTES]u8 = undefined;
+ var abs_buf: [bun.MAX_PATH_BYTES]u8 = undefined;
// If it's not in static-dir/index.html, check if it's in top level dir/index.html
var parts = [_]string{"index.html"};
var full_path = resolve_path.joinAbsStringBuf(fs.top_level_dir, &abs_buf, &parts, .auto);