mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
fileshare (#5414)
Co-authored-by: ConnorYoh <[email protected]> Co-authored-by: Connor Yoh <[email protected]> Co-authored-by: EthanHealy01 <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
ConnorYoh
Connor Yoh
EthanHealy01
Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent
47cad0a131
commit
28613caf8a
@@ -30,6 +30,7 @@ export interface TauriHttpRequestConfig {
|
||||
// Axios compatibility properties (ignored by Tauri HTTP)
|
||||
suppressErrorToast?: boolean;
|
||||
cancelToken?: any;
|
||||
signal?: AbortSignal;
|
||||
}
|
||||
|
||||
export interface TauriHttpError extends Error {
|
||||
@@ -201,6 +202,7 @@ class TauriHttpClient {
|
||||
headers,
|
||||
body,
|
||||
credentials,
|
||||
...(finalConfig.signal ? { signal: finalConfig.signal } : {}),
|
||||
};
|
||||
|
||||
// Always enable dangerous settings for HTTPS to allow connections to servers with:
|
||||
|
||||
Reference in New Issue
Block a user