You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be modified via the transformRequest function, eg on this link
Goal is to remove the need for an Allow-CORS plugin.
Code-sample from the doc:
// Use `transformRequest` to modify requests that begin with `http://myHost`.
transformRequest: (url,resourceType)=>{if(resourceType==='Source'&&url.startsWith('http://myHost')){return{url: url.replace('http','https'),headers: {'my-custom-header': true},credentials: 'include'// Include cookies for cross-origin requests};}}
The text was updated successfully, but these errors were encountered:
Can be modified via the
transformRequest
function, eg on this linkGoal is to remove the need for an Allow-CORS plugin.
Code-sample from the doc:
The text was updated successfully, but these errors were encountered: