Skip to content

Commit 8cd35b8

Browse files
committed
make codesy.io default domain to fix #115
1 parent 4b4cb22 commit 8cd35b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/csp.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function setCodesyAppender (domain) {
3939
};
4040

4141
chrome.storage.local.get(null,
42-
({domain})=>{
42+
({domain = "https://codesy.io" })=>{
4343
if (domain) setCodesyAppender(domain);
4444
}
4545
);

src/issue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function wait_for_page_change ( {url, id} ) {
5454

5555
function get_codesy_domain () {
5656
return new Promise((resolve) => {
57-
const resolve_domain = ({domain}) => resolve(domain)
57+
const resolve_domain = ({domain = "https://codesy.io"}) => resolve(domain)
5858
chrome.storage.local.get(null, resolve_domain)
5959
});
6060
}

0 commit comments

Comments
 (0)