nitro-nightly 3.1.0-20251029-083321-a053aead → 3.1.0-20251029-083435-391ecfb6

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.
@@ -738,7 +738,9 @@ function nitroMain(ctx) {
738
738
  sharedConfigBuild: true
739
739
  },
740
740
  server: {
741
- port: Number.parseInt(process.env.PORT || "") || userConfig.server?.port || useNitro(ctx).options.devServer?.port || 3e3
741
+ port: Number.parseInt(process.env.PORT || "") || userConfig.server?.port || useNitro(ctx).options.devServer?.port || 3e3,
742
+ // #3673, disable Vite's `cors` by default as Nitro handles all requests
743
+ cors: false
742
744
  }
743
745
  };
744
746
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.1.0-20251029-083321-a053aead",
3
+ "version": "3.1.0-20251029-083435-391ecfb6",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "homepage": "https://nitro.build",
6
6
  "repository": "nitrojs/nitro",