diff --git a/src/components/ProductInfo.tsx b/src/components/ProductInfo.tsx index 74d4a12..a556175 100644 --- a/src/components/ProductInfo.tsx +++ b/src/components/ProductInfo.tsx @@ -24,7 +24,7 @@ const ProductInfo = (props: ProductInfoProps) => { const [visibleTime, setVisibleTime] = useState(false) const share = () => { - const pathname = `${process.env.REACT_APP_SHARE_LINK}detail?id=${data.id}&type=${data.type}` + const pathname = `${window.origin}/#/detail?id=${data.id}&type=${data.type}` copy(pathname) setVisible(true) }