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
|
if File.exists?(instance_path) do
|
||||||
instance_path
|
instance_path
|
||||||
else
|
else
|
||||||
Path.join(Application.app_dir(:pleroma, "priv_sid/static/"), path)
|
Path.join(Application.app_dir(:pleroma, "priv/static/"), path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
plug(
|
plug(
|
||||||
Plug.Static,
|
Plug.Static,
|
||||||
at: "/",
|
at: "/",
|
||||||
from: "priv_sid/static",
|
from: :pleroma,
|
||||||
only:
|
only:
|
||||||
~w(index.html robots.txt static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc)
|
~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
|
# credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength
|
||||||
|
|
Loading…
Add table
Reference in a new issue