You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Uncomment the localhost proxy configuration (lines marked with `// Uncomment this configuration...`)
169
-
4. Ensure your local Fineract instance is running on `http://localhost:8443`
170
-
5. Restart the development server
166
+
Use the provided localhost proxy file (recommended for `ng serve`):
167
+
168
+
1. Start the dev server with the localhost proxy:
169
+
170
+
```bash
171
+
ng serve --proxy-config proxy.localhost.conf.js
172
+
```
173
+
174
+
2. Ensure your local Fineract instance is running on `http://localhost:8443`.
175
+
176
+
Notes:
177
+
178
+
-`proxy.localhost.conf.js` forwards `/fineract-provider` to your local backend to avoid CORS during development.
179
+
- The `HttpsProxyAgent` / `setupForProxy` logic (present in `proxy.conf.js`) is only necessary when an upstream corporate/HTTP proxy must be used (set via `HTTP_PROXY`/`http_proxy`). It is not required for a direct `localhost` backend.
0 commit comments