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

apollo-server-micro: only serve landing page from graphql path #5516

Merged
merged 1 commit into from
Jul 20, 2021

Commits on Jul 20, 2021

  1. apollo-server-micro: only serve landing page from graphql path

    ie, by default, serve 404 on root.
    
    This makes it consistent with the other framework integrations. This
    also means that if you're using the playground or local default landing
    page, you won't manage to load a UI at an URL that doesn't also serve
    GraphQL and then get confused when it can't talk to your server.
    
    Also fixes #5513, a doc issue around CORS.
    glasser committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    74f0aa6 View commit details
    Browse the repository at this point in the history