Skip to content

Commit

Permalink
Update api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Aug 14, 2024
1 parent 8762acb commit fc673da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ const baseBackendUrl =

const instance = axios.create({
baseURL: baseBackendUrl,
withCredentials: true,
// process.env.NODE_ENV === "development",
withCredentials: process.env.NODE_ENV === "development",
});

// turned off for built app (used in docker image) as not present in nginx headers
Expand Down

0 comments on commit fc673da

Please sign in to comment.