diff --git a/airflow/ui/vite.config.ts b/airflow/ui/vite.config.ts index 767e72296f20d..947997eeb0592 100644 --- a/airflow/ui/vite.config.ts +++ b/airflow/ui/vite.config.ts @@ -34,6 +34,9 @@ export default defineConfig({ cssInjectedByJsPlugin(), ], resolve: { alias: { openapi: "/openapi-gen", src: "/src" } }, + server: { + cors: true, // Only used by the dev server. + }, test: { coverage: { include: ["src/**/*.ts", "src/**/*.tsx"],