Skip to content

Commit

Permalink
resolve problem about basic auth when the app is behind a proxy server
Browse files Browse the repository at this point in the history
  • Loading branch information
xesrc committed May 4, 2023
1 parent 637660d commit a5fe9bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ const makeRequestParam = (

function getHeaders() {
const accessStore = useAccessStore.getState();
const headers = {
Authorization: "",
};
let headers: Record<string, string> = {};

const makeBearer = (token: string) => `Bearer ${token.trim()}`;
const validString = (x: string) => x && x.length > 0;
Expand Down

0 comments on commit a5fe9bc

Please sign in to comment.