Skip to content
Snippets Groups Projects
Commit 2a72400b authored by Voltair's avatar Voltair
Browse files

add comment for login/hivesigner url redirect

parent ce80b99b
No related branches found
No related tags found
2 merge requests!20Merge develop into master for deployment (hivesigner support),!19HiveSigner integration
...@@ -429,6 +429,7 @@ function getUrlFromLocation(location) { ...@@ -429,6 +429,7 @@ function getUrlFromLocation(location) {
url = url.replace(/\/password$/, '/transfers'); url = url.replace(/\/password$/, '/transfers');
if (url.indexOf('/delegations') !== -1) if (url.indexOf('/delegations') !== -1)
url = url.replace(/\/delegations$/, '/transfers'); url = url.replace(/\/delegations$/, '/transfers');
// Replace /login/hivesigner with /login.html to resolve data correctly for apiGetState
if (url.indexOf('login/hivesigner') !== -1) if (url.indexOf('login/hivesigner') !== -1)
url = url.replace('/login/hivesigner', '/login.html'); url = url.replace('/login/hivesigner', '/login.html');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment