aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/plugs/frontend_static.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-08-25 11:57:23 -0500
committerMark Felder <feld@FreeBSD.org>2020-08-25 11:57:23 -0500
commit479578b148f28f311a7d20f6da99bbc0dab1652c (patch)
tree2b0e5bfe6bfa5c4b954b9442d4d2a1d4ad4bc8cf /lib/pleroma/plugs/frontend_static.ex
parent98f8851f29f940051656caa1715820bce70f8c29 (diff)
parent361aa22e2862c1c914baf8257fdc8b20cbc7941d (diff)
downloadpleroma-479578b148f28f311a7d20f6da99bbc0dab1652c.tar.gz
Merge branch 'develop' into feld-2168-media-preview-proxy
Diffstat (limited to 'lib/pleroma/plugs/frontend_static.ex')
-rw-r--r--lib/pleroma/plugs/frontend_static.ex1
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