mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +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:
+1
-1
@@ -67,7 +67,7 @@ See `src/configuration.ts` for all options.
|
||||
### Required
|
||||
|
||||
- `CLI_API_TOKEN` - Shared secret; must match the server. Can be set via env or `~/.hapi/settings.json` (env wins).
|
||||
- `HAPI_SERVER_URL` - Server base URL (default: http://localhost:3006).
|
||||
- `HAPI_API_URL` - Server base URL (default: http://localhost:3006).
|
||||
|
||||
### Optional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user