@vercel/node 3.0.24 → 3.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev-server.mjs +1 -1
- package/dist/index.js +2409 -2895
- package/package.json +2 -2
package/dist/dev-server.mjs
CHANGED
@@ -999,7 +999,7 @@ var HTTP_METHODS = [
|
|
999
999
|
async function createServerlessServer(userCode) {
|
1000
1000
|
const server = createServer(userCode);
|
1001
1001
|
return {
|
1002
|
-
url: await listen(server),
|
1002
|
+
url: await listen(server, { host: "127.0.0.1", port: 0 }),
|
1003
1003
|
onExit: async () => {
|
1004
1004
|
server.close();
|
1005
1005
|
}
|