Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
m-pilarczyk committed Jan 11, 2019
2 parents 601ef88 + 3304690 commit 1bdb792
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome/extension/adswallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import './adswallet.css';

function createHistory(initialState) {
const history = createHashHistory();
if (history.location.pathname === '/') {
if (history.location.pathname === '/' && initialState.router && initialState.router.location) {
if (history.location.pathname !== initialState.router.location.pathname ||
history.location.search !== initialState.router.location.search ||
history.location.hash !== initialState.router.location.hash) {
Expand Down
7 changes: 6 additions & 1 deletion chrome/manifest.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"version": "0.1.1",
"description": "Secure identity vault for Adshares network.",
"author": "https://adshares.net/",
"permissions": [ "storage", "unlimitedStorage" ],
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"tabs"
],
"content_security_policy": "default-src 'self'; script-src 'self'; style-src * 'unsafe-inline';font-src 'self' https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self' https://rpc.adshares.net https://rpc.e11.click data:",
"background": {
"page": "background.html"
Expand Down

0 comments on commit 1bdb792

Please sign in to comment.