aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-06 15:05:10 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-06 15:05:10 -0800
commitdded255306bfb1dc176178bafb4e6a8453db697a (patch)
tree97c495ca183ac7354125b0a8c4f12b9d459e4311 /src
parent9c5dead232ad250342f682da79bd593c60f8f45e (diff)
downloadbun-dded255306bfb1dc176178bafb4e6a8453db697a.tar.gz
bun-dded255306bfb1dc176178bafb4e6a8453db697a.tar.zst
bun-dded255306bfb1dc176178bafb4e6a8453db697a.zip
Little doc
Diffstat (limited to 'src')
-rw-r--r--src/bunfig.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bunfig.zig b/src/bunfig.zig
index c22834006..46d14ff0f 100644
--- a/src/bunfig.zig
+++ b/src/bunfig.zig
@@ -96,14 +96,6 @@ pub const Bunfig = struct {
this.bunfig.port = 3000;
}
}
-
- if (expr.get("port")) |port| {
- try this.expect(port, .e_number);
- this.bunfig.port = port.data.e_number.toU16();
- if (this.bunfig.port.? == 0) {
- this.bunfig.port = 3000;
- }
- }
}
}