Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0820764

Browse files
committed
Updated netlify.toml, .gitignore
1 parent 2591e51 commit 0820764

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

‎.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ typings/
7171
# Nuxt generate
7272
dist
7373

74+
# Lambdas
75+
lambdas-dist
76+
7477
# vuepress build output
7578
.vuepress/dist
7679

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The Vue app is prerendered for improved SEO - you can learn more about server-si
1515
$ yarn install
1616

1717
# serve with hot reload at localhost:3000
18+
# serves netlify-lambda functions
1819
$ yarn run dev
1920

2021
# build for production and launch server

‎lambdas/hello.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
export function handler(event, context, callback) {
2-
console.log(event)
1+
exports.handler = function(event, context, callback) {
32
callback(null, {
43
statusCode: 200,
5-
body: JSON.stringify({msg: "Hello from Netlify Lambda!"})
4+
body: 'Hello, World'
65
})
76
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /