Skip to content

Commit

Permalink
Update invenio.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Dec 17, 2024
1 parent f85588c commit 29d0e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ APP_DEFAULT_SECURE_HEADERS = {
"data:", # for fonts
"'unsafe-inline'", # for inline scripts and styles
"blob:", # for pdf preview
"fly.storage.tigris.dev", # for S3 object storage
"s3.eu-central-1.amazonaws.com", # for S3 object storage
# Add your own policies here (e.g. analytics)
],
"img-src": [
Expand Down Expand Up @@ -190,9 +192,7 @@ FILES_REST_STORAGE_FACTORY='invenio_s3.s3fs_storage_factory'
S3_ENDPOINT_URL='http://localhost:9000/'
S3_ACCESS_KEY_ID='CHANGE_ME'
S3_SECRET_ACCESS_KEY='CHANGE_ME'

# content-security-policy for S3
APP_DEFAULT_SECURE_HEADERS['content_security_policy']['default-src'].append(S3_ENDPOINT_URL)
S3_REGION_NAME='us-east-1'

# Invenio-Records-Resources
# =========================
Expand Down

0 comments on commit 29d0e64

Please sign in to comment.