axios withCredentials true.

This commit is contained in:
Miroslav Šedivý 2021-03-01 18:20:00 +01:00
parent 6f97a376f5
commit 3e66e8ba8f

View File

@ -8,6 +8,7 @@ export class NekoApi {
public setUrl(url: string) {
this.api_configuration = new Api.Configuration({
basePath: url.replace(/\/+$/, ''),
baseOptions: { withCredentials: true },
})
}