Polishing websocket sample
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<script type="text/javascript" src="https://unpkg.com/graphql-ws/umd/graphql-ws.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Check the console for subscription messages.</p>
|
||||
<script type="text/javascript">
|
||||
const client = graphqlWs.createClient({
|
||||
url: 'ws://localhost:8080/graphql',
|
||||
|
||||
Reference in New Issue
Block a user