From a5e89e9a51c3f3156fd24a9a11f52673a2be4d3f Mon Sep 17 00:00:00 2001 From: Joey Cozza Date: Fri, 17 Jan 2025 14:51:24 -0700 Subject: [PATCH] update proxy list with photos/apiHelper --- CHANGELOG-FRONTIER.md | 8 ++++++++ packages/react-scripts/package.json | 2 +- packages/react-scripts/proxy/proxies.js | 10 ++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG-FRONTIER.md b/CHANGELOG-FRONTIER.md index b2aaa273397..10f3d90e78b 100644 --- a/CHANGELOG-FRONTIER.md +++ b/CHANGELOG-FRONTIER.md @@ -1,3 +1,11 @@ +## 8.8.3 + +- Add photos/apiHelper endpoint to proxy list + +## 8.8.2 + +- Lots of stuff with isLoggedIn and session/user stuff. Ask Nick if you have questions + ## 8.8.1 - Wrap the index-revision-replace code in a try/catch. Log the error message in the catch, but DON'T throw the error. diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index f90a5cbb123..255de6ad406 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@fs/react-scripts", - "version": "8.8.2", + "version": "8.8.3", "upstreamVersion": "5.0.1", "description": "Configuration and scripts for Create React App.", "repository": { diff --git a/packages/react-scripts/proxy/proxies.js b/packages/react-scripts/proxy/proxies.js index 5c879f15849..c45fe8d2fb0 100644 --- a/packages/react-scripts/proxy/proxies.js +++ b/packages/react-scripts/proxy/proxies.js @@ -16,8 +16,7 @@ const proxies = [ { route: '/ark', - accept: - 'application/' /* 'application/x-gedcomx-v1+json', 'application/json', etc. */, + accept: 'application/' /* 'application/x-gedcomx-v1+json', 'application/json', etc. */, }, { route: '/cis-web', @@ -55,6 +54,9 @@ const proxies = [ { route: '/service/', }, -]; + { + route: '/photos/apiHelper', + }, +] -module.exports = proxies; +module.exports = proxies