Skip to content

Commit 37e81f8

Browse files
committed
Use npm install
1 parent 42d557f commit 37e81f8

File tree

3 files changed

+105
-5
lines changed

3 files changed

+105
-5
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
22
publish = "public"
3-
command = "echo No build command"
3+
command = "npm install"
44
node_bundler = "esbuild"
55

66
[dev]

netlify/functions/submission-created.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ exports.handler = async (event, context) => {
2020
console.log('Response:', responseText);
2121

2222
return {
23-
statusCode: 301,
24-
headers: {
25-
'Location': '/success/',
26-
},
23+
statusCode: 301,
24+
headers: {
25+
'Location': '/success/',
26+
},
2727
}
2828
}

package-lock.json

Lines changed: 100 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)