RubyGems
npm
Organizations
Log in
Sign up
npm
@hastehaul/common
Versions diffs
2.0.14 → 2.0.15
@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.
Files changed (2)
hide
show
package/build/connections-wrappers/socket-connection-wrapper.js
+1
-1
package/package.json
+1
-1
package/build/connections-wrappers/socket-connection-wrapper.js
CHANGED
Viewed
@@ -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
Viewed
@@ -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",