servant-js icon indicating copy to clipboard operation
servant-js copied to clipboard

Support withCredentials in generated vanilla JS.

Open andorp opened this issue 8 years ago • 1 comments

Including the withCredentials option should be useful for the Vanilla JS backend too, as it is included in the Axios backend.

  ...
  xhr.setRequestHeader("Accept","application/json");
  xhr.withCredentials = true;
  ...

andorp avatar Dec 15 '16 23:12 andorp

Will accept the PR.

phadej avatar Feb 03 '17 08:02 phadej