Skip to content

Commit 3697c0f

Browse files
committed
update chrome app to use our new domain
1 parent 8f1bd40 commit 3697c0f

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

chrome-app/board-setter.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
/* global chrome */
12
chrome.storage.sync.get({
2-
board: 'hello'
3-
}, function(items) {
4-
console.log('/#/' + items.board, items.board);
5-
location.hash = '/' + items.board;
3+
board: null
4+
// eslint-disable-next-line prefer-arrow-callback
5+
}, function setHash(items) {
6+
if (items.board) {
7+
location.hash = `/${items.board}`;
8+
}
69
});

chrome-app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<html>
33
<head>
44
<title>React Transform Boilerplate</title>
5-
<link rel="stylesheet" type="text/css" href="https://rikukissa.github.io/thoughts-app/style.css">
5+
<link rel="stylesheet" type="text/css" href="https://ideahigh.com/style.css">
66
<script src="board-setter.js"></script>
77
<script src="https://use.typekit.net/dbp3wfc.js"></script>
88
<script src="font-loader.js"></script>
99
</head>
1010
<body>
1111
<div id="root"></div>
12-
<script src="https://rikukissa.github.io/thoughts-app/bundle.js"></script>
12+
<script src="https://ideahigh.com/bundle.js"></script>
1313
</body>
1414
</html>

chrome-app/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"webRequestBlocking",
1010
"storage"
1111
],
12-
"content_security_policy": "script-src 'self' 'unsafe-eval' https://use.typekit.net https://d37gvrvc0wt4s1.cloudfront.net/ https://rikukissa.github.io/; object-src 'self'",
12+
"content_security_policy": "script-src 'self' 'unsafe-eval' https://use.typekit.net https://d37gvrvc0wt4s1.cloudfront.net/ https://ideahigh.com/; object-src 'self'",
1313
"chrome_url_overrides" : {
1414
"newtab": "index.html"
1515
},

0 commit comments

Comments
 (0)