1
0
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:
gluzzati 2024-03-22 00:18:27 +00:00
parent 19cd21f50f
commit 0e2a963e81

View File

@ -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;