mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(docs-infra): update firebase caching regex for generated files
The regex for caching generated files in firebase.json has been updated to include lowercase letters and underscores in the 8-character hash. This ensures that files with names like `chunk-CrXHmw_W.js` are correctly cached.
This commit is contained in:
committed by
Jessica Janiuk
parent
8989536615
commit
e840cd547d
+1
-2
@@ -32,7 +32,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/**/*-[0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z].*",
|
||||
"source": "/**/*-[0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_][0-9A-Za-z_].*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
@@ -69,7 +69,6 @@
|
||||
"key": "Cross-Origin-Opener-Policy",
|
||||
"value": "same-origin"
|
||||
},
|
||||
|
||||
{
|
||||
"key": "Cross-Origin-Embedder-Policy",
|
||||
"value": "require-corp"
|
||||
|
||||
Reference in New Issue
Block a user