We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OPTIONS
vite
1 parent e76950e commit 329d800Copy full SHA for 329d800
packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts
@@ -483,6 +483,10 @@ export async function setupServer(
483
open: serverOptions.open,
484
headers: serverOptions.headers,
485
proxy,
486
+ cors: {
487
+ // Allow preflight requests to be proxied.
488
+ preflightContinue: true,
489
+ },
490
// File watching is handled by the build directly. `null` disables file watching for Vite.
491
watch: null,
492
fs: {
0 commit comments