mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 08:52:28 +03:00
9 lines
245 B
JavaScript
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',
|
||
|
}),
|
||
|
});
|