-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neither of the buttons work #39
Comments
soryr i dont maintain this anymore - try checking in with netlify community/support |
This repo is pretty much a mess. Try adding the following to const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function (app) {
app.use(
'/.netlify/functions/',
createProxyMiddleware({
target: 'http://localhost:9000/',
changeOrigin: true,
})
);
}; |
Hi for this to work now you need to add file src/proxySetup.js with the following syntax, then run-> ntl dev
here is my boilerplate.. it even has node functionality as-well https://github.com/Kirbyasdf/netlify-react-lambda-NODE-boilerplate |
Clicking either button doesn't send a response. I think the issue is that on the front end it can't find the lambda functions at '/.netlify/functions/' but I can't figure out why
The text was updated successfully, but these errors were encountered: