proxied fetch support

This commit is contained in:
josc146
2024-03-26 21:23:09 +08:00
parent c2799c9494
commit 08bc342fd6
6 changed files with 96 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ class CommonStore {
monitorData: MonitorData | null = null;
depComplete: boolean = false;
platform: Platform = 'windows';
proxyPort: number = 0;
lastModelName: string = '';
// presets manager
editingPreset: Preset | null = null;
@@ -323,6 +324,10 @@ class CommonStore {
this.platform = value;
}
setProxyPort(value: number) {
this.proxyPort = value;
}
setCurrentInput(value: string) {
this.currentInput = value;
}