We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a678db commit b7eb4a0Copy full SHA for b7eb4a0
netlify.toml
@@ -1,9 +1,9 @@
1
[build]
2
functions = "netlify/functions"
3
+ publish = "public"
4
+ node_bundler = "esbuild"
5
-[[plugins]]
- package = "@netlify/plugin-functions-utils"
6
- [plugins.inputs]
7
- copy = [
8
- { from = "./_posts", to = "netlify/functions/_posts" }
9
- ]
+[[redirects]]
+ from = "/api/*"
+ to = "/.netlify/functions/:splat"
+ status = 200
netlify/functions/test.json
@@ -0,0 +1,3 @@
+{
+ "id": 1
+}
0 commit comments