Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

update target in proxy to work with api in locahost (#1875)

Francisco Silvabfd0241b2d59
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a4e4d18118..a9e0adf823 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Fixed
+
+- Fixed the targets in `proxy.conf.json` from `http://localhost:3333` to `http://0.0.0.0:3333` for local development
+
## 1.258.0 - 2023-04-20
### Added
diff --git a/apps/client/proxy.conf.json b/apps/client/proxy.conf.json
index 9ad19ddba2..94a4482389 100644
--- a/apps/client/proxy.conf.json
+++ b/apps/client/proxy.conf.json
@@ -1,14 +1,14 @@
{
"/api": {
- "target": "http://localhost:3333",
+ "target": "http://0.0.0.0:3333",
"secure": false
},
"/assets": {
- "target": "http://localhost:3333",
+ "target": "http://0.0.0.0:3333",
"secure": false
},
"/ionicons": {
- "target": "http://localhost:3333",
+ "target": "http://0.0.0.0:3333",
"secure": false
}
}