Skip to content

Commit fa85559

Browse files
Merge pull request #70 from unicef/bugfix/241776-flex-field-override-validation-is-not-working
AB#241776: Flex Field override validation is not working
2 parents 16a1bdf + f5886d7 commit fa85559

File tree

1 file changed

+2
-10
lines changed
  • src/country_workspace/config/fragments

1 file changed

+2
-10
lines changed

src/country_workspace/config/fragments/csp.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
CSP_DEFAULT_SRC = [
2-
"'self'",
3-
"'unsafe-inline'",
4-
"cdnjs.cloudflare.com",
5-
"saunihopedev.blob.core.windows.net",
6-
"saunihopestg.blob.core.windows.net",
7-
"saunihopetrn.blob.core.windows.net",
8-
"saunihopeprd.blob.core.windows.net",
9-
]
1+
CSP_DEFAULT_SRC = ["'none'"]
102
CSP_STYLE_SRC = [
113
"'self'",
124
"'unsafe-inline'",
135
"same-origin",
6+
"cdnjs.cloudflare.com",
147
"fonts.googleapis.com",
158
"fonts.gstatic.com",
169
"saunihopedev.blob.core.windows.net",
@@ -43,7 +36,6 @@
4336
]
4437
CSP_FONT_SRC = [
4538
"'self'",
46-
"fonts.googleapis.com",
4739
"same-origin",
4840
"fonts.googleapis.com",
4941
"fonts.gstatic.com",

0 commit comments

Comments
 (0)