graphql / graphql.github.io

GraphQL Documentation at graphql.org

Home Page:https://graphql.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting 404 on /swapi-graphql

henryqdineen opened this issue · comments

Description

I'm getting a 404 on the https://graphql.org/swapi-graphql route. I have definitely gone to this route in the past but it is no longer working. The reverse proxying doesn't seem to be working.

/swapi-graphql https://graphql.github.io/swapi-graphql/ 200
/swapi-graphql/* https://graphql.github.io/swapi-graphql/:splat 200

Looking into this

hey @johannes-vdm - I originally added those redirect lines for netlify, let me know if there's anything I can help with!

this is a widely used legacy route, the original canonical graphiql demo referenced in many books and training modules, so we should at least 301 redirect it if we can no longer serve it from this path

good news - we can solve this problem programmatically!