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