I have below code
<Link className={classes.btnText} key= {props.id}
to= {"https://s3.amazonaws.com/pdf/download.pdf" } target="_blank" download>Brochure <span> ↓ </span> </Link>
The issue is i'm not able to give the absolute path. It is getting updated as
localhost:3000/https://s3.amazonaws.com/pdf/download.pdf
Can i know how to give complete url
You can use <a> tag instead
<a href="https://s3.amazonaws.com/pdf/download.pdf" target="_blank" className={classes.btnText}>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With