Skip to content

Commit 3a86066

Browse files
committed
Include credentials in spot request
1 parent 39b4ac5 commit 3a86066

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/internal/spot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Spot {
5555
headers: {
5656
"Content-Type": "application/json",
5757
},
58-
credentials: 'include',
58+
credentials: "include",
5959
body: JSON.stringify({
6060
id: this.currentTask,
6161
sites: this.sites,

src/public/spot.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ export class Spot {
5656
headers: {
5757
"Content-Type": "application/json",
5858
},
59-
//credentials: import.meta.env.PROD ? "include" : "omit",
60-
credentials: "omit",
59+
credentials: "include",
6160
body: JSON.stringify({
6261
id: this.currentTask,
6362
sites: this.sites,

0 commit comments

Comments
 (0)