Skip to content
Snippets Groups Projects
Commit 9bd5e2de authored by vaartis's avatar vaartis
Browse files

Make emoji default_manifest a config option

parent 98d4b3de
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,8 @@ config :pleroma, :emoji,
# Put groups that have higher priority than defaults here. Example in `docs/config/custom_emoji.md`
Finmoji: ["/finmoji/128px/*-128.png"],
Custom: ["/emoji/*.png", "/emoji/custom/*.png"]
]
],
default_manifest: "https://git.pleroma.social/vaartis/emoji-index/raw/master/index.json"
config :pleroma, :uri_schemes,
valid_schemes: [
......
......@@ -9,7 +9,7 @@ defmodule Mix.Tasks.Pleroma.Emoji do
@moduledoc """
"""
@default_manifest "https://git.pleroma.social/vaartis/emoji-index/raw/master/index.json"
@default_manifest Pleroma.Config.get!([:emoji, :default_manifest])
def run(["ls-packs" | args]) do
Application.ensure_all_started(:hackney)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment