Skip to content

Commit c30b424

Browse files
committed
increase buffer size 1024->4096
1 parent 6adb46a commit c30b424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/url.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub const URL = struct {
7070
}
7171

7272
pub fn resolve(self: *const URL, arena: Allocator, url: []const u8) !URL {
73-
var buf = try arena.alloc(u8, 1024);
73+
var buf = try arena.alloc(u8, 4096);
7474
const new_uri = try self.uri.resolve_inplace(url, &buf);
7575
return fromURI(arena, &new_uri);
7676
}

0 commit comments

Comments
 (0)