Derzeit haben wir CORS für den gesamten Behälter mit ein:Azure Storage Blob: Stellen Sie CORS auf der Blobs-Ebene ein?
azure storage cors set --blob static --cors '[{"AllowedOrigins":"*","AllowedMethods":"GET","MaxAgeInSeconds":"86400"}]'
Gibt es irgendeine Möglichkeit Regel zu setzen direkt und separat für jeden blob
in diesem Container?
z. - für static/images/pic.png
set "AllowedOrigins":"*"
aber für static/css/style.css
- set "AllowedOrigins":"google.com"
?
Gauravs Antwort ist korrekt. –