Commit 795b27e2 authored by Hakaba Hitoyo's avatar Hakaba Hitoyo

put emoji packs into /priv/static/instance/emoji-packs

parent 60cf29af
Pipeline #16558 passed with stages
in 5 minutes and 55 seconds
......@@ -143,6 +143,7 @@ def run(["get-packs" | args]) do
Path.join([
:code.priv_dir(:pleroma),
"static",
"instance",
"emoji-packs",
pack_name
])
......
......@@ -84,6 +84,7 @@ defp load do
Path.join([
:code.priv_dir(:pleroma),
"static",
"instance",
"emoji-packs"
])
......
......@@ -35,7 +35,7 @@ defmodule Pleroma.Web.Endpoint do
at: "/",
from: :pleroma,
only:
~w(index.html robots.txt static emoji emoji-packs packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc),
~w(index.html robots.txt static emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc),
# credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength
gzip: true,
cache_control_for_etags: @static_cache_control,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment