When calling netlify functions, I receive a 404, page not found error.
Here is m
Here is my file setup
here is my function which calls the file.
fetch("/.netlify/functions/triggerEventInvite", {
method: "POST",
body: JSON.stringify({
Here is my netlify.toml file.
headers = []
redirects = []
[functions]
[functions.emails]
included_files = ["./emails/**"]
[functions."*"]
[[plugins]]
origin = "ui"
package = "@netlify/plugin-emails"
pinned_version = "1"
[plugins.inputs]
[build]
publish = "C:\\Users\\Jais\\Milieu\\milieu\\build"
publishOrigin = "ui"
commandOrigin = "ui"
command = "npm run build"
[build.environment]
[build.processing]
[build.processing.css]
[build.processing.html]
[build.processing.images]
[build.processing.js]
[build.services]