You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vercel has introduced Next.js v9.5, and it supports to configure custom response headers in Next.js ( next.config.js ) for servers and static pages. I think next-secure-headers can supports static pages without getInitialProps and getServerSideProps , also it is possible to enable Automatic Static Optimization (#11).
Vercel has introduced Next.js v9.5, and it supports to configure custom response headers in Next.js (
next.config.js
) for servers and static pages. I think next-secure-headers can supports static pages withoutgetInitialProps
andgetServerSideProps
, also it is possible to enable Automatic Static Optimization (#11).https://nextjs.org/blog/next-9-5
These changes require breaking changes, so that I'll release them as v2, and it is not backward-compatible with v1.x.
The text was updated successfully, but these errors were encountered: