nitro-nightly 3.1.0-20251029-083418-84ceb86e → 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.
- package/dist/_build/vite.mjs +3 -1
- package/package.json +1 -1
package/dist/_build/vite.mjs
CHANGED
|
@@ -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