mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Fix the entry point for Bun.serve
This commit is contained in:
@@ -196,7 +196,7 @@ pub const ServerEntryPoint = struct {
|
||||
\\ }}
|
||||
\\ }}, reportError);
|
||||
\\}} else if (typeof entryNamespace?.default?.fetch === 'function') {{
|
||||
\\ Bun.serve(entryNamespace);
|
||||
\\ Bun.serve(entryNamespace.default);
|
||||
\\}}
|
||||
\\
|
||||
,
|
||||
|
||||
Reference in New Issue
Block a user