#101 - update hard-coded server url
This commit is contained in:
parent
79efe0646c
commit
3b78c9c755
2 changed files with 4 additions and 1 deletions
|
@ -35,6 +35,9 @@ const EmojiSelector = {
|
||||||
emojis: filterByKeyword(customEmojis, this.keyword)
|
emojis: filterByKeyword(customEmojis, this.keyword)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
serverUrl () {
|
||||||
|
return this.$store.state.instance.server
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
@click="onEmoji(emoji)"
|
@click="onEmoji(emoji)"
|
||||||
>
|
>
|
||||||
<span v-if="!emoji.image_url">{{emoji.utf}}</span>
|
<span v-if="!emoji.image_url">{{emoji.utf}}</span>
|
||||||
<img :src="'https://bikeshed.party' + emoji.image_url" v-else>
|
<img :src="serverUrl + emoji.image_url" v-else>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue