@redapollos/storm-form 0.2.1 → 0.2.2

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/README.md CHANGED
@@ -20,4 +20,22 @@ npm install @redapollos/storm-form antd axios dayjs
20
20
  - `axios` (>=1)
21
21
  - `dayjs` (>=1)
22
22
 
23
+ ## API Base URL Configuration
24
+
25
+ The package uses this default API URL if no override is provided:
26
+
27
+ - `https://storm-api.azurewebsites.net`
28
+
29
+ You can override it from the consuming app using one of these environment variables:
30
+
31
+ - `STORM_FORM_API_URL`
32
+
33
+ This is the only runtime env var checked from consuming apps.
34
+
35
+ Resolution order is:
36
+
37
+ 1. Runtime env var from the consuming app
38
+ 2. Build-time `VITE_WEBAPI_URL` from this package build
39
+ 3. Default URL above
40
+
23
41
  ...more later