use v1 urls
This commit is contained in:
parent
9bf310d509
commit
909271c764
2 changed files with 7 additions and 7 deletions
src/modules
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue