Skip to content

Commit 37fdf33

Browse files
author
Angular Builds
committed
dcec597 fix(@angular-devkit/build-angular): properly configure headers for media resources and HTML page
1 parent 68c635e commit 37fdf33

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@angular-devkit/build-angular",
3-
"version": "17.3.5+sha-c5f20a3",
3+
"version": "17.3.5+sha-dcec597",
44
"description": "Angular Webpack Build Facade",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.3.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#c5f20a3",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#c5f20a3",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#c5f20a3",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#dcec597",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#dcec597",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#dcec597",
1313
"@babel/core": "7.24.0",
1414
"@babel/generator": "7.23.6",
1515
"@babel/helper-annotate-as-pure": "7.22.5",
@@ -20,7 +20,7 @@
2020
"@babel/preset-env": "7.24.0",
2121
"@babel/runtime": "7.24.0",
2222
"@discoveryjs/json-ext": "0.5.7",
23-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#c5f20a3",
23+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#dcec597",
2424
"@vitejs/plugin-basic-ssl": "1.1.0",
2525
"ansi-colors": "4.1.3",
2626
"autoprefixer": "10.4.18",

src/builders/dev-server/vite-server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ async function setupServer(serverOptions, outputFiles, assets, preserveSymlinks,
419419
outputFiles,
420420
assets,
421421
ssr,
422+
extraHeaders: serverOptions.headers,
422423
external: externalMetadata.explicit,
423424
indexHtmlTransformer,
424425
extensionMiddleware,

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Wed Apr 17 2024 14:00:09 GMT+0000 (Coordinated Universal Time)
1+
Tue Apr 23 2024 16:44:07 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)