File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ for more details.
75
75
from ` lib/src/fixtures/` will be loaded into the in-memory repositories on
76
76
startup.
77
77
78
+ ** Note on Web Client Integration (CORS):**
79
+ To allow web applications (like the HT Dashboard) to connect to this API,
80
+ the ` CORS_ALLOWED_ORIGIN` environment variable must be set to the
81
+ specific origin of your web application (e.g., ` https://your-dashboard.com` ).
82
+ For local development, if this variable is not set, the API defaults to
83
+ allowing ` http://localhost:3000` and issues a console warning. See the
84
+ ` routes/api/v1/_middleware.dart` file for the exact implementation details.
85
+
78
86
# # ✅ Testing
79
87
80
88
Ensure the API is robust and meets quality standards by running the test suite:
You can’t perform that action at this time.
0 commit comments