thasmo
How to set custom HTTP headers for prerender requests at build time?
When pages get prerendered at build time, I need to set custom HTTP Headers for the prerender requests. More specifically, I am using
nuxt-security
to deny access to the application via basic auth which also denies access at build time for the prerendering requests.
How can I ensure that prerendering requests (at build time) can access the application which is secured by basic auth? Is there a way to set auth headers when prerendering?9 replies