Skip to content

Commit

Permalink
Update CDN URL in samples to have a protocol
Browse files Browse the repository at this point in the history
* authored by Bhanu, reworded slightly by supermathie
  • Loading branch information
itsbhanusharma authored and Supermathie committed Feb 20, 2019
1 parent 6be5513 commit 303eb03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/standalone.yml
Expand Up @@ -68,9 +68,9 @@ env:
## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
#LETSENCRYPT_ACCOUNT_EMAIL: me@example.com

## The CDN address for this Discourse instance (configured to pull)
## The http or https CDN address for this Discourse instance (configured to pull)
## see https://meta.discourse.org/t/14857 for details
#DISCOURSE_CDN_URL: //discourse-cdn.example.com
#DISCOURSE_CDN_URL: https://discourse-cdn.example.com

## The Docker container is stateless; all data is stored in /shared
volumes:
Expand Down
5 changes: 3 additions & 2 deletions samples/web_only.yml
Expand Up @@ -66,8 +66,9 @@ env:
DISCOURSE_DB_HOST: data
DISCOURSE_REDIS_HOST: data

## The CDN address for this Discourse instance (configured to pull)
#DISCOURSE_CDN_URL: //discourse-cdn.example.com
## The http or https CDN address for this Discourse instance (configured to pull)
## see https://meta.discourse.org/t/14857 for details
#DISCOURSE_CDN_URL: https://discourse-cdn.example.com

volumes:
- volume:
Expand Down

1 comment on commit 303eb03

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/mitigate-xss-attacks-with-content-security-policy/104243/18

Please sign in to comment.