mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Add fixed proposition for NodeJS
This commit is contained in:
@@ -11,8 +11,8 @@ headers.append('Authorization', 'Basic' + base64.encode(username + ":" + passwor
|
||||
|
||||
fetch(url, {method:'GET',
|
||||
headers: headers,
|
||||
//credentials: 'user:passwd'
|
||||
credentials: `${user}:${passwd}`
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(json => console.log(json));
|
||||
//.done();
|
||||
.done();
|
||||
|
||||
Reference in New Issue
Block a user