fp/ansible/roles/backblaze/templates/cors-rules.json.j2
CJ_Clippy 325fe576e2
Some checks failed
ci / test (push) Failing after 6m3s
fp/our CI/CD / build (push) Successful in 1m27s
add ipfs playbook
2025-10-04 08:45:34 -08:00

15 lines
351 B
Django/Jinja

[
{
"allowedHeaders": ["*"],
"allowedOperations": ["s3_head", "s3_put", "s3_get"],
"allowedOrigins": [
{% for origin in backblaze_allowed_origins %}
"{{ origin }}"{% if not loop.last %},{% endif %}
{% endfor %}
],
"corsRuleName": "allowUploads",
"exposeHeaders": ["etag"],
"maxAgeSeconds": 3600
}
]