Commit 651ea4ff authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix bug, utilisation en double de la conf à refactoriser

parent 95db1dc4
Loading
Loading
Loading
Loading
+4 −4
Changes for socket/server.js: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -83,10 +83,10 @@ io.on('connection', function(socket){
    }
    else {
        var client = new pg.Client({
           user: 'oscar_empty',
           host: 'localhost',
           database: 'oscar_empty',
           password: 'azerty'
            user: config.bdd.user,
            host: config.bdd.host,
            database: config.bdd.base,
            password: config.bdd.pass
        });

        client.connect();