Skip to content

Commit 870251f

Browse files
committed
Update worker-channel.js
1 parent 441c3a4 commit 870251f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

worker/worker-channel.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ function enableWorkerLogs() {
114114
}
115115

116116

117-
/*
118117
let axios = {
119118
'get': (url, token, noParse) => {
120119
return new Promise((resolve, reject) => {
@@ -154,13 +153,11 @@ let axios = {
154153
};
155154

156155
xmlhttp.open('GET', url, true);
157-
if (token) xmlhttp.setRequestHeader('Authorization', 'token ' + token);
158156
xmlhttp.send();
159157
} catch(e) { reject(e) }
160158
});
161159
}
162160
};
163-
*/
164161

165162

166163
// setup worker channel

0 commit comments

Comments
 (0)