startGyazoOAuthServer
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / main/oauth/gyazoOAuthServer / startGyazoOAuthServer
Function: startGyazoOAuthServer()
startGyazoOAuthServer(
port?:number):Promise<{success:boolean;message:string;port?:number; }>
Defined in: main/oauth/gyazoOAuthServer.js:13
Starts the local OAuth callback server used for Gyazo integrations. The implementation mirrors the previous main.js logic, including informative logging and defensive error handling for tests.
Parametersβ
port?β
number = 3000
Desired port for the callback server.
Returnsβ
Promise<{ success: boolean; message: string; port?: number; }>
Server status payload.