File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 4444 'django.contrib.sessions' ,
4545 'django.contrib.messages' ,
4646 'django.contrib.staticfiles' ,
47- #'corsheaders',
4847 'bootstrap' ,
4948 'bootstrap_datepicker_plus' ,
5049 'mathfilters' ,
8786 'django.contrib.messages.middleware.MessageMiddleware' ,
8887 'django.middleware.clickjacking.XFrameOptionsMiddleware' ,
8988 # 'django.middleware.cache.FetchFromCacheMiddleware',
90- #'corsheaders.middleware.CorsMiddleware'
9189]
9290
9391#cache the view page, we set 60s = 1m,
284282CSRF_COOKIE_HTTPONLY = True
285283CSRF_COOKIE_SECURE = True
286284
287- #SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
285+ # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
288286
289287# Paths on API_HOST to OAuth
290288OAUTH_TOKEN_PATH = '/oauth/initiate'
Original file line number Diff line number Diff line change @@ -10,5 +10,4 @@ matplotlib
1010django-bootstrap-datepicker-plus
1111django-mathfilters
1212django-bootstrap
13- django-csp
14- #django-cors-headers
13+ django-csp
You can’t perform that action at this time.
0 commit comments