We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4cb22 commit 8cd35b8Copy full SHA for 8cd35b8
src/csp.js
@@ -39,7 +39,7 @@ function setCodesyAppender (domain) {
39
};
40
41
chrome.storage.local.get(null,
42
- ({domain})=>{
+ ({domain = "https://codesy.io" })=>{
43
if (domain) setCodesyAppender(domain);
44
}
45
);
src/issue.js
@@ -54,7 +54,7 @@ function wait_for_page_change ( {url, id} ) {
54
55
function get_codesy_domain () {
56
return new Promise((resolve) => {
57
- const resolve_domain = ({domain}) => resolve(domain)
+ const resolve_domain = ({domain = "https://codesy.io"}) => resolve(domain)
58
chrome.storage.local.get(null, resolve_domain)
59
});
60
0 commit comments