diff options
author | lain <lain@soykaf.club> | 2020-07-29 13:02:48 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-07-29 13:02:48 +0200 |
commit | 6a25f72a75f90b29f0a82dd8fcb1bdca25996de7 (patch) | |
tree | 410e67078ff2250713f4c34b316830cd5393adca /lib | |
parent | 93dbba9b8a5aacbbf43a45a07e27b328579eabf8 (diff) | |
download | pleroma-6a25f72a75f90b29f0a82dd8fcb1bdca25996de7.tar.gz |
FrontendStatic: Work correctly for other frontend types.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/plugs/frontend_static.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/plugs/frontend_static.ex b/lib/pleroma/plugs/frontend_static.ex index f549ca75f..11a0d5382 100644 --- a/lib/pleroma/plugs/frontend_static.ex +++ b/lib/pleroma/plugs/frontend_static.ex @@ -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 |