mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
fix for the 403 where cookies do not match initial site.site
This commit is contained in:
parent
db2f21726d
commit
265ea36d51
3 changed files with 12 additions and 2 deletions
|
@ -14,6 +14,6 @@ psycopg2 commented out ?
|
|||
|
||||
Missing from template : REDIS_SESSIONS, postgresql_psycopg2
|
||||
|
||||
./manage.py syncdb --all --noinput
|
||||
./manage.py syncdb --all --noinput ./manage.py loaddata docker/data.json
|
||||
|
||||
pip numpy , scipy + apt gfortran libblas-dev liblapack-dev for ./manage.py refresh_feeds --force
|
||||
|
|
10
docker/data.json
Normal file
10
docker/data.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "sites.site",
|
||||
"fields": {
|
||||
"domain": "docker.newsblur.com",
|
||||
"name": "DockerNewsBlur"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -12,7 +12,7 @@ ADMINS = (
|
|||
SERVER_EMAIL = 'server@newsblur.com'
|
||||
HELLO_EMAIL = 'hello@newsblur.com'
|
||||
NEWSBLUR_URL = 'http://www.newsblur.com'
|
||||
SESSION_COOKIE_DOMAIN = '.localhost'
|
||||
SESSION_COOKIE_DOMAIN = '.newsblur.com'
|
||||
|
||||
# ===================
|
||||
# = Global Settings =
|
||||
|
|
Loading…
Add table
Reference in a new issue