I have a repo with a subdirectory
www/ that contains the code for the frontend of my app (a single-page and one lambda function), and in my
netlify.toml I’m pointing netlify to that subdfolder as it’s
base. However when building the site, netlify only deploys it to
mydomain.com/www/ as opposed to
mydomain.com. I’ve tried a bunch of changes to the
toml file and in the UI but aren’t getting anywhere. Is there something I’m missing?
The only thing that needs a build step is my function (using netlify-lambda), which looks like it is being deployed to the site’s root.
Current rough folder structure:
|____server | |____app.py |____www | |____index.html | |____Functions | | |____function.js | |____package.json |____netlify.toml
[build] base = "www" publish = "www" # I've tried "build", "" and "www/build"