File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ <h2><a class="anchor" aria-hidden="true" id="option-2-headers"></a><a href="#opt
134134< p > To re-implement the default Basic Auth behavior, do something like this:</ p >
135135< pre > < code class ="hljs css language-js "> < span class ="hljs-keyword "> let</ span > auth = {
136136 < span class ="hljs-attr "> headers</ span > : {
137- < span class ="hljs-attr "> Authentication </ span > : < span class ="hljs-string "> `Basic < span class ="hljs-subst "> ${Buffer.< span class ="hljs-keyword "> from</ span > (< span class ="hljs-string "> `< span class ="hljs-subst "> ${username}</ span > :< span class ="hljs-subst "> ${password}</ span > `</ span > ).toString(< span class ="hljs-string "> 'base64'</ span > )}</ span > `</ span >
137+ < span class ="hljs-attr "> Authorization </ span > : < span class ="hljs-string "> `Basic < span class ="hljs-subst "> ${Buffer.< span class ="hljs-keyword "> from</ span > (< span class ="hljs-string "> `< span class ="hljs-subst "> ${username}</ span > :< span class ="hljs-subst "> ${password}</ span > `</ span > ).toString(< span class ="hljs-string "> 'base64'</ span > )}</ span > `</ span >
138138 }
139139}
140140</ code > </ pre >
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ <h2><a class="anchor" aria-hidden="true" id="option-2-headers"></a><a href="#opt
134134< p > To re-implement the default Basic Auth behavior, do something like this:</ p >
135135< pre > < code class ="hljs css language-js "> < span class ="hljs-keyword "> let</ span > auth = {
136136 < span class ="hljs-attr "> headers</ span > : {
137- < span class ="hljs-attr "> Authentication </ span > : < span class ="hljs-string "> `Basic < span class ="hljs-subst "> ${Buffer.< span class ="hljs-keyword "> from</ span > (< span class ="hljs-string "> `< span class ="hljs-subst "> ${username}</ span > :< span class ="hljs-subst "> ${password}</ span > `</ span > ).toString(< span class ="hljs-string "> 'base64'</ span > )}</ span > `</ span >
137+ < span class ="hljs-attr "> Authorization </ span > : < span class ="hljs-string "> `Basic < span class ="hljs-subst "> ${Buffer.< span class ="hljs-keyword "> from</ span > (< span class ="hljs-string "> `< span class ="hljs-subst "> ${username}</ span > :< span class ="hljs-subst "> ${password}</ span > `</ span > ).toString(< span class ="hljs-string "> 'base64'</ span > )}</ span > `</ span >
138138 }
139139}
140140</ code > </ pre >
Original file line number Diff line number Diff line change @@ -396,6 +396,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
396396 <tr >
397397 <td align="center"><a href="https://github.com/hemanthkini"><img src="https://avatars.githubusercontent.com/u/3934055?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Hemanth Kini</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=hemanthkini" title="Code">💻</a></td>
398398 <td align="center"><a href="https://github.com/anish3333"><img src="https://avatars.githubusercontent.com/u/128889867?v=4?s=60" width="60px;" alt=""/><br /><sub><b>Anish Awasthi</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=anish3333" title="Code">💻</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=anish3333" title="Documentation">📖</a> <a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=anish3333" title="Tests">⚠️</a></td>
399+ <td align="center"><a href="https://github.com/fetsorn"><img src="https://avatars.githubusercontent.com/u/12858105?v=4?s=60" width="60px;" alt=""/><br /><sub><b>fetsorn</b></sub></a><br /><a href="https://github.com/isomorphic-git/isomorphic-git/commits?author=fetsorn" title="Documentation">📖</a></td>
399400 </tr >
400401</table >
401402
You can’t perform that action at this time.
0 commit comments