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
Warning: You have opted-out of Automatic Static Optimization due to `getInitialProps` in `pages/_app`.
Read more: https://err.sh/next.js/opt-out-auto-static-optimization
Is it possible to use modify this module so this doesn't happen?
The text was updated successfully, but these errors were encountered:
jagaapple
changed the title
arning: You have opted-out of Automatic Static Optimization due to getInitialProps in pages/_app
Warning: You have opted-out of Automatic Static Optimization due to getInitialProps in pages/_appFeb 18, 2020
@PabloSzx
This package needs to access a request object and we can access it in only getInitialProps lifecycle provided by Next.js, so unfortunately it's impossible 😢
If you are creating a static website using Next.js, you have to configure some headers in Express.js layer instead, such as Helmet.
Hi, when using this module you get this message
Is it possible to use modify this module so this doesn't happen?
The text was updated successfully, but these errors were encountered: