undo priv_sid hacks
This commit is contained in:
parent
232dd79341
commit
a506b7e1d7
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ defmodule Pleroma.Plugs.InstanceStatic do
|
|||
if File.exists?(instance_path) do
|
||||
instance_path
|
||||
else
|
||||
Path.join(Application.app_dir(:pleroma, "priv_sid/static/"), path)
|
||||
Path.join(Application.app_dir(:pleroma, "priv/static/"), path)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ defmodule Pleroma.Web.Endpoint do
|
|||
plug(
|
||||
Plug.Static,
|
||||
at: "/",
|
||||
from: "priv_sid/static",
|
||||
from: :pleroma,
|
||||
only:
|
||||
~w(index.html robots.txt static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc)
|
||||
# credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength
|
||||
|
|
Loading…
Add table
Reference in a new issue