Fix building CSP policy

You can't use 'none' as a CSP Policy if there's other things among

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-11-04 16:10:24 +01:00
parent d8434ca3d3
commit a51b36fb75
3 changed files with 24 additions and 12 deletions

View File

@@ -368,7 +368,7 @@ config :mobilizon, Mobilizon.Service.GlobalSearch,
config :mobilizon, Mobilizon.Service.GlobalSearch.SearchMobilizon,
endpoint: "https://search.joinmobilizon.org",
csp_policy: [
img_src: "search.joinmobilizon.org"
img_src: ["search.joinmobilizon.org"]
]
# Import environment specific config. This must remain at the bottom