I have placed the “deploy to netlify” button in react app and it is working fine in development mode. After that I made a build of the project and uploaded it on the server, then after clicking the button I got following error: app.netlify.com refused to connect.
Here is the button which I placed:
<a href="https://app.netlify.com/start/deploy?repository=https://github.com/a9kitkumar/jamstack_app"> <img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" /> </a>
Please give any solution, thanks