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:
Husky
2026-01-13 22:49:58 -05:00
committed by GitHub
parent 038507fa74
commit 752409b561
8 changed files with 67 additions and 119 deletions
+1 -1
View File
@@ -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>