FrontendStatic: Work correctly for other frontend types.
This commit is contained in:
parent
93dbba9b8a
commit
6a25f72a75
2 changed files with 28 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ defmodule Pleroma.Plugs.FrontendStatic do
|
|||
opts
|
||||
|> Keyword.put(:from, "__unconfigured_frontend_static_plug")
|
||||
|> Plug.Static.init()
|
||||
|> Map.put(:frontend_type, opts[:frontend_type])
|
||||
end
|
||||
|
||||
def call(conn, opts) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue