mirror of
https://dev.azure.com/tstanciu94/ReverseProxy/_git/ReverseProxy_Frontend
synced 2022-12-28 18:12:07 +02:00
Added Authorization header
This commit is contained in:
parent
7a16c738b4
commit
5609267b44
@ -2,6 +2,7 @@ function getHeaders() {
|
||||
const headers = new Headers();
|
||||
headers.append("Accept", "application/json");
|
||||
headers.append("Content-Type", "application/json");
|
||||
headers.append("Authorization", "Basic ***REMOVED***");
|
||||
return headers;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,8 @@ import axios from "axios";
|
||||
|
||||
function getHeaders() {
|
||||
return {
|
||||
"Content-Type": "application/json"
|
||||
"Content-Type": "application/json",
|
||||
Authorization: "Basic ***REMOVED***"
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user