aboutsummaryrefslogtreecommitdiff
path: root/src/Emoji.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Emoji.tsx')
-rw-r--r--src/Emoji.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Emoji.tsx b/src/Emoji.tsx
index b928087..df5108d 100644
--- a/src/Emoji.tsx
+++ b/src/Emoji.tsx
@@ -1,5 +1,6 @@
import { FC } from 'react';
import Image from 'next/future/image';
+import benzinConfig from './benzinConfig';
interface Props {
children: string[];
@@ -9,7 +10,7 @@ const Emoji: FC<Props> = ({ children }) => {
const src = children[0];
return (
<Image
- src={`/emoji/${src}`}
+ src={`${benzinConfig.CDN}/public/emoji/${src}`}
width={16}
alt={`${src}-emoji`}
/>