How to change the endpoint in Apollo Server Studio to /subscriptions
#291
Unanswered
kasir-barati
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a fairly simple question and yet I could not find an answer in the docs. How can I change the endpoint being shown in the GraphQL IDE to
/subscriptions
?I saw questions like this on Stackoverflow but the thing is that the answers are dated and not longer relevant with the current version of Apollo server: https://stackoverflow.com/q/56316603/8784518
Any suggestion?
As a quick workaround I changed my
WebSocketServer
conf but this is not really optimal since one also might need to change their port: https://github.com/kasir-barati/graphql/blob/5a5a627dbfa5566577c4b33397c46ee5c3608912/apps/server-statistics/src/main.ts#L32Beta Was this translation helpful? Give feedback.
All reactions