forked from AkkomaGang/akkoma
merged akkoma develop
This commit is contained in:
parent
1419eee5df
commit
c18c4cd1d1
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ defp csp_string do
|
||||||
if Config.get(:env) == :dev do
|
if Config.get(:env) == :dev do
|
||||||
"script-src 'self' 'unsafe-eval'"
|
"script-src 'self' 'unsafe-eval'"
|
||||||
else
|
else
|
||||||
"script-src 'self'"
|
"script-src 'self' 'unsafe-eval'"
|
||||||
end
|
end
|
||||||
|
|
||||||
report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"]
|
report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"]
|
||||||
|
|
Loading…
Reference in a new issue