Allow HTTP GET and WebSocket to use the same path
Closes gh-30
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
spring.graphql.websocket.path=/graphql/websocket
|
||||
spring.graphql.websocket.path=/graphql
|
||||
management.endpoints.web.exposure.include=health,metrics,info
|
||||
logging.level.org.springframework.web=debug
|
||||
logging.level.org.springframework.http=debug
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
const client = graphqlWs.createClient({
|
||||
url: 'ws://localhost:8080/graphql/websocket',
|
||||
url: 'ws://localhost:8080/graphql',
|
||||
});
|
||||
|
||||
// query
|
||||
|
||||
Reference in New Issue
Block a user