Skip to content

Commit

Permalink
examples(get-started-tracetest-cloud): add sls code
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Sep 19, 2024
1 parent 70a4021 commit b1f8d04
Show file tree
Hide file tree
Showing 9 changed files with 2,607 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "docker",
"name": "kubernetes",
"version": "1.0.0",
"description": "",
"main": "index.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.serverless
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports.hello = async (event) => {
const response = {
statusCode: 200,
body: JSON.stringify({
message: 'Hello, world!',
}),
};

return response;
};
Loading

0 comments on commit b1f8d04

Please sign in to comment.