Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sitecore-jss-nextjs] Fix Chromes mode for NativeFetcher #2018

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

art-alexeyenko
Copy link
Contributor

Description / Motivation

Fetch cannot pass authorization headers when request schema changes - and that's what is happening with XMCloud preview and edit in Chromes mode.
This PR makes rendering host requests be https OOB when authorization header is present.

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@art-alexeyenko art-alexeyenko requested a review from a team January 24, 2025 20:31
Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but we should test TC before releasing.

@art-alexeyenko art-alexeyenko merged commit e262abe into dev Jan 24, 2025
1 check was pending
@art-alexeyenko art-alexeyenko deleted the bug/jss-4940-chromes-fetch branch January 24, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants