Skip to content

Commit 5832d99

Browse files
authored
Fix subprotocol (#54)
1 parent ac9466f commit 5832d99

File tree

1 file changed

+1
-1
lines changed
  • apollo-execution-ktor/src/commonMain/kotlin/com/apollographql/execution/ktor

1 file changed

+1
-1
lines changed

apollo-execution-ktor/src/commonMain/kotlin/com/apollographql/execution/ktor/main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fun Application.apolloSubscriptionModule(
107107
install(WebSockets)
108108

109109
routing {
110-
webSocket(path) {
110+
webSocket(path, "graphql-ws") {
111111
coroutineScope {
112112
val handler = SubscriptionWebSocketHandler(
113113
executableSchema = executableSchema,

0 commit comments

Comments
 (0)