@appweaver/cli 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -99,19 +99,20 @@ The config object is frozen with `Object.freeze()` after loading to prevent runt
|
|
|
99
99
|
|
|
100
100
|
### Server (SERVER_*)
|
|
101
101
|
|
|
102
|
-
| Property | Type
|
|
103
|
-
|
|
104
|
-
| `SERVER_PORT` | integer
|
|
105
|
-
| `SERVER_HOST` | string
|
|
106
|
-
| `SERVER_API_PREFIX` | string
|
|
107
|
-
| `SERVER_BODY_MAX_SIZE` | string
|
|
108
|
-
| `SERVER_STATIC_ENABLED` | boolean
|
|
109
|
-
| `SERVER_STATIC_DIR_PATH` | string
|
|
110
|
-
| `SERVER_STATIC_ROUTE_PREFIX` | string
|
|
111
|
-
| `
|
|
112
|
-
| `
|
|
113
|
-
| `
|
|
114
|
-
| `
|
|
102
|
+
| Property | Type | Default | Description |
|
|
103
|
+
|----------------------------------|----------|--------------|------------------------------------------------------------|
|
|
104
|
+
| `SERVER_PORT` | integer | `5000` | HTTP server listening port. |
|
|
105
|
+
| `SERVER_HOST` | string | `'0.0.0.0'` | HTTP server listening host/IP. |
|
|
106
|
+
| `SERVER_API_PREFIX` | string | `'/api'` | Base path prefix for all API routes. |
|
|
107
|
+
| `SERVER_BODY_MAX_SIZE` | string | `100M` | Maximum request body size. |
|
|
108
|
+
| `SERVER_STATIC_ENABLED` | boolean | `true` | Enable serving static files from disk. |
|
|
109
|
+
| `SERVER_STATIC_DIR_PATH` | string | `'./public'` | Directory containing static files. |
|
|
110
|
+
| `SERVER_STATIC_ROUTE_PREFIX` | string | `'/public'` | URL prefix for static file routes. |
|
|
111
|
+
| `SERVER_STATIC_RESPONSE_HEADERS` | string[] | `[]` | HTTP headers for static files. Format: "{header}: {value}" |
|
|
112
|
+
| `SERVER_STATIC_MAX_AGE` | string | `'30d'` | Cache-Control max-age for static files. |
|
|
113
|
+
| `SERVER_STATIC_ALLOWED_HOST` | string? | - | Host allowed to access static files (CORS). |
|
|
114
|
+
| `SERVER_TRUST_PROXY` | boolean | `true` | Trust `X-Forwarded-*` headers from reverse proxies. |
|
|
115
|
+
| `SERVER_REQUEST_LOGGING_ENABLED` | boolean | `false` | Enable HTTP request/response logging. |
|
|
115
116
|
|
|
116
117
|
### Rate limiting (RATE_LIMIT_*)
|
|
117
118
|
|