Revert "Revert "use v1 urls""

This reverts commit 8c6cf86de3.
This commit is contained in:
FloatingGhost 2022-12-14 09:39:01 +00:00
parent 8c6cf86de3
commit c39332c1bf
2 changed files with 7 additions and 7 deletions

View file

@ -178,7 +178,7 @@ const instance = {
async getCustomEmoji ({ commit, state }) {
try {
const res = await window.fetch('/api/pleroma/emoji.json')
const res = await window.fetch('/api/v1/pleroma/emoji')
if (res.ok) {
const result = await res.json()
const values = Array.isArray(result) ? Object.assign({}, ...result) : result