1
0
Fork 0
forked from fedi/mastodon

Document CORS requirement for asset host (#6941)

This commit is contained in:
Akihiko Odaki 2018-03-29 03:40:18 +09:00 committed by Eugen Rochko
parent 3523aa440b
commit 4f9136d2d5

View file

@ -81,6 +81,10 @@ SMTP_FROM_ADDRESS=notifications@example.com
# PAPERCLIP_ROOT_URL=/system # PAPERCLIP_ROOT_URL=/system
# Optional asset host for multi-server setups # Optional asset host for multi-server setups
# The asset host must allow cross origin request from WEB_DOMAIN or LOCAL_DOMAIN
# if WEB_DOMAIN is not set. For example, the server may have the
# following header field:
# Access-Control-Allow-Origin: https://example.com/
# CDN_HOST=https://assets.example.com # CDN_HOST=https://assets.example.com
# S3 (optional) # S3 (optional)