mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 00:24:51 -04:00
Fix favicon not showing in webview
This commit is contained in:
@@ -4,8 +4,8 @@ import Image from "next/image";
|
||||
type FavIconProps = React.SVGProps<SVGSVGElement>;
|
||||
|
||||
const FavIcon: React.FC<FavIconProps> = ({ className }) => (
|
||||
<Image src="/favicon.ico" alt="Compass logo" width={500} height={500} className={"w-12 h-12 " + className}/>
|
||||
// Need full domain for favicon to work properly on Webview
|
||||
<Image src="https://compassmeet.com/favicon.ico" alt="Compass logo" width={500} height={500} className={"w-12 h-12 " + className}/>
|
||||
);
|
||||
|
||||
export default FavIcon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user