diff --git a/akkoma/jxl-polyfill.patch b/akkoma/jxl-polyfill.patch index b8e11dd..2ef0bce 100644 --- a/akkoma/jxl-polyfill.patch +++ b/akkoma/jxl-polyfill.patch @@ -1,13 +1,13 @@ diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex -index b1f1ada94..8bae50900 100644 +index d7cff7343..d09159c4f 100644 --- a/lib/pleroma/web/plugs/http_security_plug.ex +++ b/lib/pleroma/web/plugs/http_security_plug.ex -@@ -114,7 +114,7 @@ defp csp_string(conn) do +@@ -116,7 +116,7 @@ defp csp_string(conn) do style_src = "style-src 'self' '#{nonce_tag}'" font_src = "font-src 'self'" -- script_src = "script-src 'self' '#{nonce_tag}'" -+ script_src = "script-src 'self' 'unsafe-eval' '#{nonce_tag}'" +- script_src = "script-src 'self' '#{nonce_tag}' " ++ script_src = "script-src 'self' 'unsafe-eval' '#{nonce_tag}' " - report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"] - insecure = if scheme == "https", do: "upgrade-insecure-requests" + script_src = + if @mix_env == :dev do diff --git a/akkoma/source.json b/akkoma/source.json index 36ba23f..42fe6d8 100644 --- a/akkoma/source.json +++ b/akkoma/source.json @@ -1,9 +1,9 @@ { "url": "https://akkoma.dev/AkkomaGang/akkoma.git", - "rev": "62e22eeff23b8841e3cdc7e4a4ee6ef29b612aca", - "date": "2023-04-11T09:28:01+00:00", - "path": "/nix/store/9gi0bkr23rfd7wzsfbvlk340hdb0hk3j-akkoma", - "sha256": "0hrf8w9lg00nlsw2xlvka0hgwgxl4vggax0fcld7qzmc6i28fcdk", + "rev": "d6bed599c8ca3f77a3936ff68cbaf036a5ae59b6", + "date": "2023-04-14T18:09:59+01:00", + "path": "/nix/store/hxm4g88mida0f9f4k2n07kxysvlw5bnm-akkoma", + "sha256": "09i9d20yb4p051y0xd73yviyc30lmpg61bj863bnf7bgas5k7y7g", "fetchLFS": false, "fetchSubmodules": false, "deepClone": false,