kgsvg

Results 2 comments of kgsvg

Adding `headers` to `ApolloServerPluginLandingPageLocalDefault` options worked for me. Versions: ``` "@apollo/server": "^4.0.3", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", ``` ``` ApolloServerPluginLandingPageLocalDefault({ headers: { "Content-Security-Policy": "default-src 'self' https://apollo-server-landing-page.cdn.apollographql.com;", }, }), ```

The issue for me was `getInitialProps`. I had done it like `Home.getInitialProps = async () => {}` but it should be exported on the module level like so: ``` export...