Hi, I am new with Netlify and I am using a free account. I am having a problem that seems to me to be very basic, but I still cant solve it.
I am trying to create a minimal site by dragging & dropping my directory (not using Git). The index.html
works. This is my netlify.toml
file:
[build]
publish = "/"
functions = "functions"
I have created some functions in the functions
directory but are all unreachable.
So, these work:
https://mysite.netlify.app
&
https://mysite.netlify.app/otherfile.html
but any function (e.g. functions/test-function.js
) I call like this:
https://mysite.netlify.app/.netlify/functions/test-function
is unreachable and i get a “Page not found”.
Is there a setting I am missing? Any help is welcome…