Hi,
I am using the following Gatsby template https://jamtemplates.com/templates/gatsby-yellowcake and Deployed it to netlify via a private Gitlab repository.
I am using the following tutorial https://medium.com/@j0hnm4r5/password-protecting-a-website-with-the-free-tier-of-netlify-and-publishing-with-a-single-npm-e509af9f108f to password protect a single file public/index.html
and it works great.
What I did was I replace whatever was in my package.json "scripts": {
by what the tutorial mentions.
Then I changed my netlify.toml command to command = "npm run publish"
and under https://app.netlify.com/sites/elements-development/settings/deploys I also changed the build command to npm publish
However, how can I password protect each individual page / the whole website please?
Kind regards,
888