fix: publish updated README
This commit is contained in:
parent
c7c152a554
commit
ff6a84a8e1
@ -132,7 +132,7 @@ io.on('connection', async (socket) => {
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { io } from 'socket.io-client'
|
import { io } from 'socket.io-client'
|
||||||
import { isUnauthorizedError } from '@thream/socketio-jwt'
|
import { isUnauthorizedError } from '@thream/socketio-jwt/UnauthorizedError.js'
|
||||||
|
|
||||||
// Require Bearer Token
|
// Require Bearer Token
|
||||||
const socket = io('http://localhost:9000', {
|
const socket = io('http://localhost:9000', {
|
||||||
|
Reference in New Issue
Block a user