From ba0ba50d5c5cd0c6997519939036cb328f027211 Mon Sep 17 00:00:00 2001 From: Addy Pathania Date: Wed, 22 Jan 2025 15:27:24 -0500 Subject: [PATCH 1/2] fix non existent pages for rav --- packages/sitecore-jss/src/native-fetcher.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/sitecore-jss/src/native-fetcher.ts b/packages/sitecore-jss/src/native-fetcher.ts index 9aa63eee0b..21e4b3a6cc 100644 --- a/packages/sitecore-jss/src/native-fetcher.ts +++ b/packages/sitecore-jss/src/native-fetcher.ts @@ -183,7 +183,6 @@ export class NativeDataFetcher { init.method = init.body ? 'POST' : 'GET'; } - headers.set('Content-Type', 'application/json'); init.headers = headers; return init; From a38fed2968750b191d4585234d675a1750302f24 Mon Sep 17 00:00:00 2001 From: Addy Pathania Date: Wed, 22 Jan 2025 15:36:37 -0500 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23a2f022c4..2ff0a82ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Our versioning strategy is as follows: ### 🛠 Breaking Change * `[all packages]` `[all samples]` Remove Axios ([#2006](https://github.com/Sitecore/jss/pull/2006)) ([#2008](https://github.com/Sitecore/jss/pull/2008)) ([#2011](https://github.com/Sitecore/jss/pull/2011))([#2013](https://github.com/Sitecore/jss/pull/2013))([#2015](https://github.com/Sitecore/jss/pull/2015)) +([#2016](https://github.com/Sitecore/jss/pull/2016)) * `AxiosDataFetcher` is replaced by the `NativeDataFetcher`. * `AxiosDataFetcherConfig` is replaced by `NativeDataFetcherConfig`. * `AxiosResponse` is replaced by `NativeDataFetcherResponse`.