From bfd0241b2d59dc0fb2bf057c19313d7d63ca5d3f Mon Sep 17 00:00:00 2001 From: Francisco Silva Date: Thu, 20 Apr 2023 18:51:35 +0200 Subject: [PATCH] update target in proxy to work with api in locahost (#1875) Co-authored-by: francisco Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> --- CHANGELOG.md | 6 ++++++ apps/client/proxy.conf.json | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e4d1811..a9e0adf82 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 9ad19ddba..94a448238 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 } }