#101 - update hard-coded server url

This commit is contained in:
jared 2019-04-02 13:38:07 -04:00
parent 79efe0646c
commit 3b78c9c755
2 changed files with 4 additions and 1 deletions

View file

@ -35,6 +35,9 @@ const EmojiSelector = {
emojis: filterByKeyword(customEmojis, this.keyword) emojis: filterByKeyword(customEmojis, this.keyword)
} }
} }
},
serverUrl () {
return this.$store.state.instance.server
} }
} }
} }

View file

@ -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>