dashy/services/serverless-functions/not-supported.js
2021-09-18 21:36:46 +01:00

9 lines
245 B
JavaScript

/* A Netlify cloud function to return a message endpoints that are not available */
exports.handler = async () => ({
statusCode: 200,
body: JSON.stringify({
success: false,
error: 'This action is not supported on Netlify',
}),
});