winhtaikaung / react-tiny-link

Convert your links into rich previews
https://winhtaikaung.github.io/react-tiny-link
259 stars 48 forks source link

Proxy doesn't work in production #30

Closed lukeberry99 closed 4 years ago

lukeberry99 commented 4 years ago

The proxy doesn't work after npm run build but does work when running npm run start - we've tried setting it explicitly

return <ReactTinyLink
  cardSize="small"
  showGraphic={ true }
  maxLine={ 2 }
  minLine={ 1 }
  url={ link }
  proxyUrl="https://cors-anywhere.herokuapp.com"
/>

As well as leaving it as the default, and it doesn't work in either configuration.

Cheers for the help

winhtaikaung commented 4 years ago

Hi @lukeberry99 Appreciated for opening issue. I will look into it

winhtaikaung commented 4 years ago

Hope the issue has been resolved,Please feel free to reopen if any issue comes up.