mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-06 06:41:56 +00:00
refactor: rename configuration variables for clarity
Standardize naming across CLI and server components: - CLI: serverUrl → apiUrl, HAPI_SERVER_URL → HAPI_API_URL - Server: webapp* → listen*, miniAppUrl → publicUrl, WEBAPP_* → HAPI_LISTEN_*, WEBAPP_URL → HAPI_PUBLIC_URL - Rename serverUrlInit.ts → apiUrlInit.ts with updated logic for backward compatibility - Update all imports, function calls, and documentation accordingly
This commit is contained in:
@@ -215,7 +215,7 @@ export class ApiMachineClient {
|
||||
}
|
||||
|
||||
connect(): void {
|
||||
this.socket = io(`${configuration.serverUrl}/cli`, {
|
||||
this.socket = io(`${configuration.apiUrl}/cli`, {
|
||||
transports: ['websocket'],
|
||||
auth: {
|
||||
token: this.token,
|
||||
|
||||
Reference in New Issue
Block a user