Skip to content

Commit

Permalink
Merge pull request #1 from Rocky0102/Rocky0102-patch-proper-accept-he…
Browse files Browse the repository at this point in the history
…ader

Update api.ts to set proper header "Accept"
  • Loading branch information
Rocky0102 authored Dec 18, 2023
2 parents efdd615 + 24d7dc9 commit 8efe26e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export function getHeaders() {
const headers: Record<string, string> = {
"Content-Type": "application/json",
"x-requested-with": "XMLHttpRequest",
"Accept": "application/json",
};

const isAzure = accessStore.provider === ServiceProvider.Azure;
Expand Down

0 comments on commit 8efe26e

Please sign in to comment.