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:
weishu
2026-01-19 12:57:37 +08:00
parent 0228146b99
commit 9e335fa305
27 changed files with 176 additions and 140 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
run: |
{
echo "HAPI_HOME=~/.hapi-dev-test"
echo "HAPI_SERVER_URL=http://localhost:3006"
echo "HAPI_API_URL=http://localhost:3006"
echo "CLI_API_TOKEN=${CLI_API_TOKEN:-dev-test-token}"
echo "HAPI_DAEMON_HTTP_TIMEOUT=60000"
echo "HAPI_DAEMON_HEARTBEAT_INTERVAL=30000"