Merge branch 'feature/jobs' into 'develop'
[akkoma] / lib / pleroma / plugs / instance_static.ex
index 11f108de74f46ac8f20bfeca839d23476bc88fcd..41125921a9818ae1a5a045bfa85ffae3dd445f9f 100644 (file)
@@ -33,7 +33,7 @@ defmodule Pleroma.Plugs.InstanceStatic do
   for only <- @only do
     at = Plug.Router.Utils.split("/")
 
-    def call(conn = %{request_path: "/" <> unquote(only) <> _}, opts) do
+    def call(%{request_path: "/" <> unquote(only) <> _} = conn, opts) do
       call_static(
         conn,
         opts,