shigusegubu customs
This commit is contained in:
parent
d386e8a825
commit
fe8ec1b6f9
6 changed files with 17 additions and 8 deletions
|
@ -47,9 +47,9 @@ version =
|
|||
config :pleroma, :http, proxy_url: nil
|
||||
|
||||
config :pleroma, :instance,
|
||||
version: version,
|
||||
name: "Pleroma",
|
||||
email: "example@example.com",
|
||||
version: "2.1",
|
||||
name: "Shigusegubu",
|
||||
email: "pleroma@hjkos.com",
|
||||
limit: 5000,
|
||||
upload_limit: 16_000_000,
|
||||
registrations_open: true,
|
||||
|
@ -82,7 +82,7 @@ config :pleroma, :media_proxy,
|
|||
|
||||
# base_url: "https://cache.pleroma.social"
|
||||
|
||||
config :pleroma, :chat, enabled: true
|
||||
config :pleroma, :chat, enabled: false
|
||||
|
||||
config :ecto, json_library: Jason
|
||||
|
||||
|
|
|
@ -28,4 +28,11 @@ f_33b00b, /emoji/f_33b00b.png
|
|||
f_33b22b, /emoji/f_33b22b.png
|
||||
f_33h, /emoji/f_33h.png
|
||||
f_33t, /emoji/f_33t.png
|
||||
|
||||
shinitai-shi, /emoji/shinitai-shi.png
|
||||
shinitai-ni, /emoji/shinitai-ni.png
|
||||
shinitai-ta, /emoji/shinitai-ta.png
|
||||
shinitai-i, /emoji/shinitai-i.png
|
||||
shinitai_shi, /emoji/shinitai_shi.png
|
||||
shinitai_ni, /emoji/shinitai_ni.png
|
||||
shinitai_ta, /emoji/shinitai_ta.png
|
||||
shinitai_i, /emoji/shinitai_i.png
|
||||
|
|
|
@ -6,10 +6,12 @@ After=network.target postgresql.service
|
|||
User=pleroma
|
||||
WorkingDirectory=/home/pleroma/pleroma
|
||||
Environment="HOME=/home/pleroma"
|
||||
Environment="MIX_ENV=prod"
|
||||
ExecStart=/usr/local/bin/mix phx.server
|
||||
ExecReload=/bin/kill $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -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
Reference in a new issue