-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Closed
Copy link
Labels
area: @angular-devkit/build-angulardevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Description
Which @angular/* package(s) are the source of the bug?
upgrade, Don't known / other
Is this a regression?
Yes
Description
I upgraded my project to Angular 17 and switched to "builder": "@angular-devkit/build-angular:browser-esbuild". For local env I use proxy config to redirect requests to test env.
I receive all the data, except for OPTIONS request there is no Content-Language header in response.
It works on prev version(Angular 16 and "builder": "@angular-devkit/build-angular:browser")
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.7
Node: 21.5.0 (Unsupported)
Package Manager: yarn 1.22.19
OS: win32 x64
Angular: 17.0.7
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
... upgrade
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.7
@angular-devkit/build-angular 17.0.7
@angular-devkit/architect 0.1700.7
@angular-devkit/build-angular 17.0.7
@angular-devkit/core 17.0.7
@angular-devkit/schematics 17.0.7
@schematics/angular 17.0.7
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.2
Anything else?
I switched to "builder": "@angular-devkit/build-angular:browser-esbuild"
With proxy for the local env
package.json:
{
...
"start": "ng serve --proxy-config config/proxy.conf.js --hmr --port 3000 --open=true",
...
}
My proxy config looks like this:
const PROXY_CONFIG = [
{
context: [
"/api"
],
target: "test env link",
secure: true,
changeOrigin: true,
}
]
module.exports = PROXY_CONFIG;
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix