Update main.js

This commit is contained in:
Luke Hagar
2024-02-11 21:47:11 -06:00
committed by GitHub
parent 32c7b4fbb3
commit 962be4e78b

View File

@@ -20,7 +20,7 @@ export default async ({ req, res, log, error }) => {
if (req.method === 'GET') {
// Send a response with the res object helpers
// `res.send()` dispatches a string back to the client
return res.send('Hello, World!');
return res.send(`Hello, World, I'm Luke!`);
}
// `res.json()` is a handy helper for sending JSON