8 lines
259 B
TypeScript
8 lines
259 B
TypeScript
import { fetch as tauriFetch } from '@tauri-apps/plugin-http';
|
|
import { setHttpFetch } from '@goldenchart/shared';
|
|
|
|
/** WebView fetch(ATS/CORS) 대신 Rust reqwest — exdev HTTP API */
|
|
export function installTauriHttp(): void {
|
|
setHttpFetch(tauriFetch);
|
|
}
|