Skip to content

Commit

Permalink
fix(Home Page): Remove Storage doesn't see local
Browse files Browse the repository at this point in the history
  • Loading branch information
danactive committed Jul 8, 2020
1 parent a60d87f commit 3a0777b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/app/utils/host.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export function getHostToken(host, storageType = null) {
return localValue;
}

return `http://localhost:${port}`;
if (storageType !== 'browser') {
return `http://localhost:${port}`;
}
}

return null;
Expand Down

0 comments on commit 3a0777b

Please sign in to comment.