@hastehaul/common 2.0.14 → 2.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ class SocketWrapper {
26
26
  */
27
27
  connect(httpServer, path) {
28
28
  this._io = new socket_io_1.Server(httpServer, {
29
- path: path || `/${path}/socket/`,
29
+ path: `/${path ? path + '/' : ''}socket/`,
30
30
  pingTimeout: 30000,
31
31
  pingInterval: 25000,
32
32
  cors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",