mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
axios withCredentials true.
This commit is contained in:
parent
6f97a376f5
commit
3e66e8ba8f
@ -8,6 +8,7 @@ export class NekoApi {
|
|||||||
public setUrl(url: string) {
|
public setUrl(url: string) {
|
||||||
this.api_configuration = new Api.Configuration({
|
this.api_configuration = new Api.Configuration({
|
||||||
basePath: url.replace(/\/+$/, ''),
|
basePath: url.replace(/\/+$/, ''),
|
||||||
|
baseOptions: { withCredentials: true },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user