Skip to content

Node.js based forum software built for the modern web

reconnectionAttemps in socket.io 1.0x

barisusakliacf1b76da8b7
diff --git a/public/src/app.js b/public/src/app.js
index 4b517e4be5..ca8e156849 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -76,7 +76,7 @@ var socket,
}, 200);
} else {
var ioParams = {
- 'max reconnection attempts': config.maxReconnectionAttempts,
+ reconnectionAttempts: config.maxReconnectionAttempts,
reconnectionDelay : config.reconnectionDelay,
path: RELATIVE_PATH + '/socket.io'
};