mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Set CORS headers for sandbox expiry request (#7006)
This commit is contained in:
parent
c1d38598e2
commit
ebab3f04a7
1 changed files with 3 additions and 1 deletions
|
|
@ -56,7 +56,9 @@ export default {
|
|||
params: { id: instanceId },
|
||||
responseType: "json",
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
"Access-Control-Request-Method": "GET",
|
||||
"Access-Control-Request-Headers": "content-type",
|
||||
Origin: `https://${instanceId}.sandbox.fleetdm.com`,
|
||||
},
|
||||
});
|
||||
return data.timestamp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue