logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 4f9136d2d55e1547c84fc394c0e5e1bb259d58d2
parent: 3523aa440ba3f52bf28fe1e9707506d327c4431f
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date:   Thu, 29 Mar 2018 03:40:18 +0900

Document CORS requirement for asset host (#6941)


Diffstat:

M.env.production.sample4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.env.production.sample b/.env.production.sample @@ -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)