mirror of
https://github.com/LukeHagar/appwrite-starter-function.git
synced 2025-12-07 12:27:49 +00:00
Update main.js
This commit is contained in:
@@ -20,7 +20,7 @@ export default async ({ req, res, log, error }) => {
|
|||||||
if (req.method === 'GET') {
|
if (req.method === 'GET') {
|
||||||
// Send a response with the res object helpers
|
// Send a response with the res object helpers
|
||||||
// `res.send()` dispatches a string back to the client
|
// `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
|
// `res.json()` is a handy helper for sending JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user