auth: added console.log for debugging

This commit is contained in:
muerwre 2018-12-10 12:31:13 +07:00
parent b8aea3575e
commit e8a2e04562

View file

@ -104,6 +104,7 @@ function* loadMapSaga(path) {
function* mapInitSaga() { function* mapInitSaga() {
const { hash } = getUrlData(); const { hash } = getUrlData();
console.log('got credentials', window.location);
if (hash && /^#map/.test(hash)) { if (hash && /^#map/.test(hash)) {
const [, newUrl] = hash.match(/^#map[:/?!](.*)$/); const [, newUrl] = hash.match(/^#map[:/?!](.*)$/);