OSDN Git Service

データーベースのデフォルト設定を変更した
[webchat/WebChat.git] / chat.js
diff --git a/chat.js b/chat.js
index de151a2..9ab0aea 100644 (file)
--- a/chat.js
+++ b/chat.js
@@ -149,6 +149,7 @@ function RoomInfomationCollection()
                                host     : config.db_host,\r
                                user     : config.db_user,\r
                                password : config.db_password,\r
+                               port     : config.db_port,\r
                                database : "webchat",\r
                        });\r
        var collection = {};\r
@@ -376,6 +377,7 @@ function IpBanCollecion()
                                host     : config.db_host,\r
                                user     : config.db_user,\r
                                password : config.db_password,\r
+                               port     : config.db_port,\r
                                database : "webchat",\r
                        });\r
        var collection = {};\r