style: prettier
This commit is contained in:
parent
7bc48484a2
commit
5bc2915655
|
@ -49,11 +49,10 @@ export function optionsToConfig(
|
||||||
config.onUploadProgress = finalOptions?.onUploadProgress;
|
config.onUploadProgress = finalOptions?.onUploadProgress;
|
||||||
}
|
}
|
||||||
|
|
||||||
const headers = new AxiosHeaders(config.headers as AxiosHeaders)
|
const headers = new AxiosHeaders(config.headers as AxiosHeaders);
|
||||||
|
|
||||||
if (finalOptions?.customCookie) {
|
if (finalOptions?.customCookie) {
|
||||||
headers.set("Cookie", finalOptions.customCookie);
|
headers.set("Cookie", finalOptions.customCookie);
|
||||||
|
|
||||||
}
|
}
|
||||||
if (finalOptions?.customUserAgent) {
|
if (finalOptions?.customUserAgent) {
|
||||||
headers.set("User-Agent", finalOptions.customUserAgent);
|
headers.set("User-Agent", finalOptions.customUserAgent);
|
||||||
|
|
Loading…
Reference in New Issue