mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
Switch to nuxt assets for emojis (#311)
* switch to nuxt assets for emojis * add auth to emoji endpoint * fix cache control header * fix type error
This commit is contained in:
@@ -10,6 +10,6 @@ const props = defineProps<{
|
||||
}>();
|
||||
|
||||
const url = computed(() => {
|
||||
return `/twemoji/${twemoji.convert.toCodePoint(props.emoji)}.svg`;
|
||||
return `/api/v1/emoji/${twemoji.convert.toCodePoint(props.emoji)}`;
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user