node10-express-template
node10-express-template copied to clipboard
Node.js 10 Express Template for OpenFaaS
Signed-off-by: Patricio Diaz This refactor is intended to give the node10-express template the ability to respond to promise or async/await based handler functions. The handler in this PR has 3...
Hi, I was creating a short URL service with openfaas , while integrating the function with react js front end, It showed > Access to fetch at 'http://192.168.99.100:31112/function/getstat' from origin...
Hi, I was trying to use this template to serve SPA files. I was following the article https://www.openfaas.com/blog/serverless-single-page-app/ . It works well except for images and I suspect for contents...
The following PR will fix an issue where context.fail() did not return custom status codes even though context.status() was called. ## Description I modified the context.succeed() and context.fail() methods to...
## Expected Behaviour The following code snippet should return a 501 status code along with the error message. ```js module.exports = (event, context) => { context .status(501) .fail('An error occurred');...