Skip to content

fix: use canonical www.codebuff.com URL for fallbacks - #840

Closed
OmarAlaaeldein wants to merge 8736 commits into
CodebuffAI:mainfrom
OmarAlaaeldein:fix/codebuff-app-url-redirect
Closed

fix: use canonical www.codebuff.com URL for fallbacks#840
OmarAlaaeldein wants to merge 8736 commits into
CodebuffAI:mainfrom
OmarAlaaeldein:fix/codebuff-app-url-redirect

Conversation

@OmarAlaaeldein

Copy link
Copy Markdown

This PR fixes a silent authorization header-stripping issue during local development/testing.

  • Change hardcoded fallback URLs from https://codebuff.com to the canonical https://www.codebuff.com.
  • This prevents the 301 redirect from codebuff.com to www.codebuff.com which causes Node's fetch client to strip the Authorization header for security reasons, resulting in a silent 401 Unauthorized error.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:triaged Classified by the community triage bot pr:port-candidate Worth porting into the private source tree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants