mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-06 10:20:26 +02:00
axios withCredentials true.
This commit is contained in:
parent
6f97a376f5
commit
3e66e8ba8f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue