shigusegubu customs

This commit is contained in:
Pleroma 2018-01-01 16:36:40 +00:00 committed by SGSGB
commit fe8ec1b6f9
6 changed files with 17 additions and 8 deletions

View file

@ -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)
)

View file

@ -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)

View file

@ -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