aboutsummaryrefslogtreecommitdiff
path: root/src/Image.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Image.tsx')
-rw-r--r--src/Image.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Image.tsx b/src/Image.tsx
index 37e55ba..0989451 100644
--- a/src/Image.tsx
+++ b/src/Image.tsx
@@ -1,12 +1,12 @@
import ImageBase from 'next/future/image';
import { FC } from 'react';
-import benzinConfig from './benzinConfig';
+import config from './config';
type Props = Record<'src' | 'alt', string>;
const localizeSrc = (src: string) => {
if (src.startsWith('http')) return src;
- return benzinConfig.CDN + src;
+ return config.CDN + src;
}
const Image: FC<Props> = ({ src, ...props }) => {