mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-14 03:20:15 +01: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 }) => {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user