Created
April 7, 2024 21:44
-
-
Save kenny-io/f4e98e7a5d7d6ff486a4930dcecaca88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default async (event, context) => { | |
return new Response(JSON.stringify({ message: 'Hello World' }), { | |
headers: { | |
'content-type': 'application/json', | |
'Netlify-Cache-ID': 'productID-1,products'// Set your custom cache IDs here | |
} | |
}); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment