diff options
author | 2022-03-26 03:40:54 -0700 | |
---|---|---|
committer | 2022-03-26 03:40:54 -0700 | |
commit | 889ce659747bbb380f98712d6830d98da75fd97a (patch) | |
tree | 24775681d9b624b81c73d0700d1aee240ce9f152 | |
parent | 42bda98db7ae2d7465d07677b3a11b5826b9bf61 (diff) | |
download | bun-889ce659747bbb380f98712d6830d98da75fd97a.tar.gz bun-889ce659747bbb380f98712d6830d98da75fd97a.tar.zst bun-889ce659747bbb380f98712d6830d98da75fd97a.zip |
Fix the entry point for Bun.serve
-rw-r--r-- | src/bundler/entry_points.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/entry_points.zig b/src/bundler/entry_points.zig index 6c9e7a278..d2ffc4794 100644 --- a/src/bundler/entry_points.zig +++ b/src/bundler/entry_points.zig @@ -196,7 +196,7 @@ pub const ServerEntryPoint = struct { \\ }} \\ }}, reportError); \\}} else if (typeof entryNamespace?.default?.fetch === 'function') {{ - \\ Bun.serve(entryNamespace); + \\ Bun.serve(entryNamespace.default); \\}} \\ , |