mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-02-19 00:19:05 +00:00
Remove all references to the previous site configuration
I really need to rewrite this from scratch.
This commit is contained in:
parent
fee8004df6
commit
39ffcfd77c
@ -1,10 +1,8 @@
|
||||
import React from 'react';
|
||||
import config from '../../next.config.js';
|
||||
|
||||
const MyImage = ({ src, width, height, ...props }) => {
|
||||
const _src = `${config.basePath}${src}`
|
||||
return (
|
||||
<img src={_src} placeholder="blur"/>
|
||||
<img src={src} placeholder="blur"/>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user