added cors mode to /metrics-flow request
This commit is contained in:
parent
445811931f
commit
e7b881e975
|
@ -103,7 +103,10 @@ export default class User {
|
||||||
utm_campaign: utms.campaign || 'none'
|
utm_campaign: utms.campaign || 'none'
|
||||||
});
|
});
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`${this.authConfig.issuer}/metrics-flow?${params.toString()}`
|
`${this.authConfig.issuer}/metrics-flow?${params.toString()}`,
|
||||||
|
{
|
||||||
|
mode: 'cors'
|
||||||
|
}
|
||||||
);
|
);
|
||||||
const { flowId, flowBeginTime } = await res.json();
|
const { flowId, flowBeginTime } = await res.json();
|
||||||
this.flowId = flowId;
|
this.flowId = flowId;
|
||||||
|
|
Loading…
Reference in New Issue