Skip to content

Commit 25235c1

Browse files
authored
fix: subscription typo (#1407)
1 parent 6cf6265 commit 25235c1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/runtime/server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export function create(appState: AppState) {
186186
ip: address.address,
187187
paths: {
188188
graphql: settings.data.path,
189-
graphqlSubscrtipions: state.enableSubscriptionsServer ? settings.data.subscriptions.path : null,
189+
graphqlSubscriptions: state.enableSubscriptionsServer ? settings.data.subscriptions.path : null,
190190
},
191191
})
192192
DevMode.sendServerReadySignalToDevModeMaster()

src/runtime/server/settings.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ type ServerStartInfo = {
237237
ip: string
238238
paths: {
239239
graphql: string
240-
graphqlSubscrtipions: null | string
240+
graphqlSubscriptions: null | string
241241
}
242242
}
243243

@@ -422,12 +422,12 @@ export const createServerSettingsManager = () =>
422422
initial() {
423423
return ({ port, host, paths }): void => {
424424
const url = `http://${Utils.prettifyHost(host)}:${port}${paths.graphql}`
425-
const subscrtipionsURL = paths.graphqlSubscrtipions
426-
? `http://${Utils.prettifyHost(host)}:${port}${paths.graphqlSubscrtipions}`
425+
const subscriptionsURL = paths.graphqlSubscriptions
426+
? `http://${Utils.prettifyHost(host)}:${port}${paths.graphqlSubscriptions}`
427427
: null
428428
serverLogger.info('listening', {
429429
url,
430-
subscrtipionsURL,
430+
subscriptionsURL,
431431
})
432432
}
433433
},

0 commit comments

Comments
 (0)