mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 22:54:40 +00:00
Make emoji default_manifest a config option
This commit is contained in:
parent
98d4b3de53
commit
9bd5e2dec9
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue