Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Next.js 9.5 and static pages #19

Closed
jagaapple opened this issue Jul 27, 2020 · 1 comment
Closed

Add support for Next.js 9.5 and static pages #19

jagaapple opened this issue Jul 27, 2020 · 1 comment

Comments

@jagaapple
Copy link
Owner

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).

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.

@jagaapple
Copy link
Owner Author

v2 supports this feature. #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant