Skip to content

Commit b7eb4a0

Browse files
author
Invers3
committed
Update test
testing
1 parent 6a678db commit b7eb4a0

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

netlify.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[build]
22
functions = "netlify/functions"
3+
publish = "public"
4+
node_bundler = "esbuild"
35

4-
[[plugins]]
5-
package = "@netlify/plugin-functions-utils"
6-
[plugins.inputs]
7-
copy = [
8-
{ from = "./_posts", to = "netlify/functions/_posts" }
9-
]
6+
[[redirects]]
7+
from = "/api/*"
8+
to = "/.netlify/functions/:splat"
9+
status = 200

netlify/functions/test.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"id": 1
3+
}

0 commit comments

Comments
 (0)