CORS and CSP headers (#1286)

* do in-app compression only for CLI

* CORS and CSP headers

* lint

* add --debug to targets

* lint

* fix botched merge with master
This commit is contained in:
Bruce Martin
2020-03-24 08:05:37 -07:00
committed by GitHub
parent d196cbc8f6
commit 752b9e4ab3
7 changed files with 29 additions and 9 deletions
+1
View File
@@ -52,6 +52,7 @@ class AppConfig(object):
self.server__open_browser = dc["server"]["open_browser"]
self.server__about_legal_tos = dc["server"]["about_legal_tos"]
self.server__about_legal_privacy = dc["server"]["about_legal_privacy"]
self.server__force_https = dc["server"]["force_https"]
self.multi_dataset__dataroot = dc["multi_dataset"]["dataroot"]
self.multi_dataset__index = dc["multi_dataset"]["index"]
self.multi_dataset__allowed_matrix_types = dc["multi_dataset"]["allowed_matrix_types"]
+1
View File
@@ -12,6 +12,7 @@ server:
open_browser: false
about_legal_tos: null
about_legal_privacy: null
force_https: false
presentation:
max_categories: 1000