Skip to content

Commit

Permalink
fix: no more JSOn
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengstorf committed Sep 28, 2021
1 parent 8718f8a commit 7bfe8b6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions netlify/functions/hello-world.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
exports.handler = async () => {
return {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({message: 'hello world!'}),
body: 'hello world!',
};
};
};

0 comments on commit 7bfe8b6

Please sign in to comment.