From 2f01085c55324c7234f82cdf93d8c01371fe18c4 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Tue, 1 Nov 2016 20:18:39 +0300 Subject: [PATCH] Do not simplify routes (they are way too simple) (#24) --- server/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/socket.js b/server/socket.js index aa7b915c..8da09d8b 100644 --- a/server/socket.js +++ b/server/socket.js @@ -423,7 +423,7 @@ utils.extend(SocketConnection.prototype, { if(!utils.stripObject(data, { destinations: [ { lat: "number", lon: "number" } ], mode: "string" })) throw "Invalid parameters."; - return routing.calculateRouting(data.destinations, data.mode, true); + return routing.calculateRouting(data.destinations, data.mode, false); }); },