fix(lms): add lms.dimong.ru to CSRF_TRUSTED_ORIGINS
This commit is contained in:
@@ -38,6 +38,8 @@ ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
|
|||||||
if '*' not in ALLOWED_HOSTS:
|
if '*' not in ALLOWED_HOSTS:
|
||||||
ALLOWED_HOSTS.append('*')
|
ALLOWED_HOSTS.append('*')
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = ['https://lms.dimong.ru']
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user