Fix landing runtime provider crash and LogRocket CSP blocking#213
Merged
Conversation
Agent-Logs-Url: https://github.com/WeWriteApp/WeWrite/sessions/8127f7df-0752-4275-b627-c4623eff2a66 Co-authored-by: sirjamesgray <16139439+sirjamesgray@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WeWriteApp/WeWrite/sessions/8127f7df-0752-4275-b627-c4623eff2a66 Co-authored-by: sirjamesgray <16139439+sirjamesgray@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WeWriteApp/WeWrite/sessions/ca86ddfd-60dd-4bd4-8984-fb27edd7ee19 Co-authored-by: sirjamesgray <16139439+sirjamesgray@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WeWriteApp/WeWrite/sessions/91a6e09b-bd6f-48f0-92e6-c3e2946a5d9a Co-authored-by: sirjamesgray <16139439+sirjamesgray@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Copilot created this pull request from a session on behalf of
sirjamesgray
May 16, 2026 14:40
View session
sirjamesgray
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix production runtime issues reported on welcome/landing by ensuring the demo balance context is always available where used, and by allowing LogRocket ingest host traffic in CSP.
Changes
/home/runner/work/WeWrite/WeWrite/app/providers/ConsolidatedProviders.tsx/is no longer treated as auth-only flow/auth*routes bypass financial providersuseDemoBalance()are wrapped byDemoBalanceProvider/home/runner/work/WeWrite/WeWrite/next.config.jshttps://*.logr-in.comto allow LogRocket requests likehttps://r.logr-in.com/...Notes
frontend-cdn.perplexity.aiappears to be extension-injected and is correctly blocked by policy./api/auth/session401 can be expected for anonymous sessions depending on flow.Validation