mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-09-20 20:10:36 +02:00
webroot in logo
This commit is contained in:
parent
19cd21f50f
commit
0e2a963e81
@ -1,4 +1,5 @@
|
|||||||
const Logo = ({ height, width }: { height: number; width: number }) => {
|
const Logo = ({ height, width }: { height: number; width: number }) => {
|
||||||
return <img src="/img/logo.png" alt="logo" height={height} width={width} />;
|
const webroot = process.env.WEBROOT || "";
|
||||||
|
return <img src={webroot + "/img/logo.png"} alt="logo" height={height} width={width} />;
|
||||||
};
|
};
|
||||||
export default Logo;
|
export default Logo;
|
||||||
|
Loading…
Reference in New Issue
Block a user