feat: implement fixed local API port settings for desktop app, allowing users to specify a port for consistent access, with corresponding UI and translations
This commit is contained in:
+4
@@ -2,3 +2,7 @@
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function GetAPIBaseURL():Promise<string>;
|
||||
|
||||
export function GetDesktopHTTPPortSetting():Promise<number>;
|
||||
|
||||
export function SetDesktopHTTPPortSetting(arg1:number):Promise<void>;
|
||||
|
||||
@@ -5,3 +5,11 @@
|
||||
export function GetAPIBaseURL() {
|
||||
return window['go']['main']['App']['GetAPIBaseURL']();
|
||||
}
|
||||
|
||||
export function GetDesktopHTTPPortSetting() {
|
||||
return window['go']['main']['App']['GetDesktopHTTPPortSetting']();
|
||||
}
|
||||
|
||||
export function SetDesktopHTTPPortSetting(arg1) {
|
||||
return window['go']['main']['App']['SetDesktopHTTPPortSetting'](arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user