]> cat aescling's git repositories - mastodon.git/commitdiff
Document CORS requirement for asset host (#6941)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Wed, 28 Mar 2018 18:40:18 +0000 (03:40 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 28 Mar 2018 18:40:18 +0000 (20:40 +0200)
.env.production.sample

index 1e5ed9f3d2d691af8290f12476f3783a4da08d47..9de2c06506c238cc4bea7d94572e3cd3fb11488d 100644 (file)
@@ -81,6 +81,10 @@ SMTP_FROM_ADDRESS=notifications@example.com
 # PAPERCLIP_ROOT_URL=/system
 
 # 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
 
 # S3 (optional)