1
0
Fork 0

webroot in logo

This commit is contained in:
gluzzati 2024-03-22 00:18:27 +00:00
parent 19cd21f50f
commit 0e2a963e81
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
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;