shigusegubu customs
This commit is contained in:
parent
d386e8a825
commit
fe8ec1b6f9
6 changed files with 17 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ defmodule Pleroma.Web.Endpoint do
|
|||
plug(
|
||||
Plug.Static,
|
||||
at: "/",
|
||||
from: :pleroma,
|
||||
from: "priv_sid/static",
|
||||
only: ~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png)
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ defmodule Pleroma.Web.OStatus.OStatusController do
|
|||
"html" ->
|
||||
conn
|
||||
|> put_resp_content_type("text/html")
|
||||
|> send_file(200, "priv/static/index.html")
|
||||
|> send_file(200, "priv_sid/static/index.html")
|
||||
|
||||
_ ->
|
||||
represent_activity(conn, activity, user)
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ defmodule Fallback.RedirectController do
|
|||
if Mix.env() != :test do
|
||||
conn
|
||||
|> put_resp_content_type("text/html")
|
||||
|> send_file(200, "priv/static/index.html")
|
||||
|> send_file(200, "priv_sid/static/index.html")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue