Commit db80437af2a7ff0d399051a2c27cced11ba506ef
1 parent
19d989f4
Exists in
master
and in
39 other branches
Fixed SITE_URL. Added BROWSERID_AUDIENCES to yaml
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
colab/management/initconfig.py
| @@ -29,6 +29,10 @@ EMAIL_SUBJECT_PREFIX: '[colab]' | @@ -29,6 +29,10 @@ EMAIL_SUBJECT_PREFIX: '[colab]' | ||
| 29 | SECRET_KEY: '{secret_key}' | 29 | SECRET_KEY: '{secret_key}' |
| 30 | 30 | ||
| 31 | SITE_URL: 'http://www.example.com/' | 31 | SITE_URL: 'http://www.example.com/' |
| 32 | +BROWSERID_AUDIENCES: | ||
| 33 | + - http://example.com | ||
| 34 | + - https://example.org | ||
| 35 | + - http://example.net | ||
| 32 | 36 | ||
| 33 | ALLOWED_HOSTS: | 37 | ALLOWED_HOSTS: |
| 34 | - example.com | 38 | - example.com |
colab/settings.py
| @@ -267,7 +267,7 @@ FEEDZILLA_SITE_DESCRIPTION = _(u'Colab blog aggregator') | @@ -267,7 +267,7 @@ FEEDZILLA_SITE_DESCRIPTION = _(u'Colab blog aggregator') | ||
| 267 | MAILMAN_API_URL = 'http://localhost:9000' | 267 | MAILMAN_API_URL = 'http://localhost:9000' |
| 268 | 268 | ||
| 269 | ### BrowserID / Persona | 269 | ### BrowserID / Persona |
| 270 | -SITE_URL = 'localhost:8000' | 270 | +SITE_URL = 'http://localhost:8000' |
| 271 | BROWSERID_AUDIENCES = [SITE_URL, SITE_URL.replace('https', 'http')] | 271 | BROWSERID_AUDIENCES = [SITE_URL, SITE_URL.replace('https', 'http')] |
| 272 | 272 | ||
| 273 | 273 |