Skip to content

Commit 050f155

Browse files
committed
Add Accept header to POST request in main.ts for improved API compatibility
1 parent b625f70 commit 050f155

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pilot/server/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,7 @@ async function main() {
10061006
method: "POST",
10071007
headers: {
10081008
"Content-Type": "application/json",
1009+
Accept: "application/json",
10091010
Authorization: `Bearer ${config.meshToken}`,
10101011
},
10111012
body: JSON.stringify({

0 commit comments

Comments
 (0)