@mixd-id/web-scaffold 0.1.230406305 → 0.1.230406307

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/utils/wss.js +4 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406305",
4
+ "version": "0.1.230406307",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
package/src/utils/wss.js CHANGED
@@ -99,8 +99,10 @@ class WSS extends EventEmitter2{
99
99
 
100
100
  console.log('WSS', process.env.REDIS_HOST, process.env.REDIS_PORT)
101
101
  this._client = redis.createClient({
102
- host: process.env.REDIS_HOST ?? '127.0.0.1',
103
- port: process.env.REDIS_PORT ?? 6379
102
+ socket: {
103
+ host: process.env.REDIS_HOST ?? '127.0.0.1',
104
+ port: process.env.REDIS_PORT ?? 6379
105
+ }
104
106
  })
105
107
  this._client.connect()
106
108
  .then()