How to subscribe to Slash GraphQL in the correct way, getting 301 error

Thanks for updating with your solution! I ran into this problem while I was following a Dgraph tutorial. Specifically this bit of code graphql-sample-apps/index.js at c0b4e09045abe6db6d0981a2f6e531498596c2a9 · dgraph-io/graphql-sample-apps · GitHub