From 772f0b7afdb89f8a41377779b628017bd9e84d4c Mon Sep 17 00:00:00 2001 From: Supriyo Biswas Date: Thu, 17 May 2018 19:27:10 +0530 Subject: [PATCH] Fix /sync absolute path. --- static/files/js/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/files/js/run.js b/static/files/js/run.js index f9533c314..04acc7d57 100644 --- a/static/files/js/run.js +++ b/static/files/js/run.js @@ -7,7 +7,7 @@ app.run(function($rootScope, search, api) { //velox $scope.state = {}; $scope.hasConnected = false; - var v = velox("/sync", $scope.state); + var v = velox("sync", $scope.state); v.onupdate = function() { $scope.$applyAsync(); };