mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(docs-infra): allow cors for json files
fixes #64710
(cherry picked from commit f2de963bf3)
This commit is contained in:
parent
766559e08c
commit
adae565cbf
1 changed files with 13 additions and 0 deletions
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue