Repository: incubator-ignite Updated Branches: refs/heads/ignite-843 073c40fa5 -> 8ad2e2da4
IGNITE-843 Fix URL on login. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/488a5aff Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/488a5aff Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/488a5aff Branch: refs/heads/ignite-843 Commit: 488a5aff175bf03f18360c8c193d972b2cf5b6d0 Parents: 073c40f Author: sevdokimov <sergey.evdoki...@jetbrains.com> Authored: Tue Jul 7 11:43:01 2015 +0300 Committer: sevdokimov <sergey.evdoki...@jetbrains.com> Committed: Tue Jul 7 11:43:01 2015 +0300 ---------------------------------------------------------------------- .../nodejs/public/javascripts/controllers/common.js | 2 +- modules/web-control-center/nodejs/routes/auth.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/488a5aff/modules/web-control-center/nodejs/public/javascripts/controllers/common.js ---------------------------------------------------------------------- diff --git a/modules/web-control-center/nodejs/public/javascripts/controllers/common.js b/modules/web-control-center/nodejs/public/javascripts/controllers/common.js index f0221c2..ba3d152 100644 --- a/modules/web-control-center/nodejs/public/javascripts/controllers/common.js +++ b/modules/web-control-center/nodejs/public/javascripts/controllers/common.js @@ -182,7 +182,7 @@ configuratorModule.controller('auth', [ .success(function (data) { authModal.hide(); - $window.location = '/clusters'; + $window.location = '/configuration/clusters'; }) .error(function (data) { $alert({placement: 'top', container: '#errors-container', title: $scope.errorMessage(data)}); http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/488a5aff/modules/web-control-center/nodejs/routes/auth.js ---------------------------------------------------------------------- diff --git a/modules/web-control-center/nodejs/routes/auth.js b/modules/web-control-center/nodejs/routes/auth.js index 5ed7278..fd018ab 100644 --- a/modules/web-control-center/nodejs/routes/auth.js +++ b/modules/web-control-center/nodejs/routes/auth.js @@ -37,7 +37,7 @@ router.post('/register', function(req, res, next) { if (err) return res.status(401).send(err.message); - return res.redirect('/clusters'); + return res.redirect('/configuration/clusters'); }); }); }); @@ -57,7 +57,7 @@ router.post('/login', function(req, res, next) { if (err) return res.status(401).send(err.message); - res.redirect('/clusters'); + res.redirect('/configuration/clusters'); }); })(req, res, next); });