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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user