My functions directory is visible over the web when I enter for example https://example.com/functions/hello.js
Is this intended behavior? According to the Netlify docs:
the [functions] directory is not visible over the web unless you place it in your site’s publish directory (not recommended).
However my publish directory is
functions shouldn’t be visible to users… or am I misunderstanding something?
Base directory: Not set
Build command: Not set
Publish directory: public/
Functions Directory: Not set
(I’m using the default configuration as mentioned in the docs (“If you don’t configure a custom functions directory, Netlify will use
netlify/functions as the default and deploy any functions you save there”).