mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(docs-infra): allow cors for json files
fixes #64710
(cherry picked from commit f2de963bf3)
This commit is contained in:
committed by
Kristiyan Kostadinov
parent
766559e08c
commit
adae565cbf
@@ -18,6 +18,19 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/angular.dev/assets/others/versions.json",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cross-Origin-Resource-Policy",
|
||||
"value": "cross-origin"
|
||||
},
|
||||
{
|
||||
"key": "Access-Control-Allow-Origin",
|
||||
"value": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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].*",
|
||||
"headers": [
|
||||
|
||||
Reference in New Issue
Block a user