2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-06 19:30:11 +02:00

fix: publish updated README

This commit is contained in:
Divlo 2022-09-09 11:41:42 +02:00
parent c7c152a554
commit ff6a84a8e1
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -132,7 +132,7 @@ io.on('connection', async (socket) => {
```ts
import { io } from 'socket.io-client'
import { isUnauthorizedError } from '@thream/socketio-jwt'
import { isUnauthorizedError } from '@thream/socketio-jwt/UnauthorizedError.js'
// Require Bearer Token
const socket = io('http://localhost:9000', {