Skip to content

fix(csp): allow the Bansify hub to embed GitPlus - #5

Merged
GothwadTech merged 1 commit into
mainfrom
fix/frame-ancestors
Nov 23, 2026
Merged

GothwadTech merged 1 commit into
mainfrom
fix/frame-ancestors

Conversation

@GothwadTech

@GothwadTech GothwadTech commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator
  • frame-ancestors 'none' -> 'self' https://bansify.com https://www.bansify.com, so the hub's app dock can preview GitPlus in its phone frame\n- account widget origin moved from accounts.gothwadtech.com to accounts.bansify.com

Summary by CodeRabbit

  • Compatibility
    • The security policy now allows widget scripts from accounts.bansify.com and permits pages to be framed by bansify.com and www.bansify.com.
    • Widget scripts from the previous provider are no longer permitted, and framing is no longer blocked for all sites.

frame-ancestors was 'none', so the app dock on bansify.com could not preview
GitPlus. The account widget origin also still pointed at gothwadtech.com.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Changes: CSP policy update

Layer / File(s) Summary
Update CSP directives
public/_headers
The script source changes to accounts.bansify.com/widget/. The frame-ancestors directive now allows bansify.com and www.bansify.com.

Change: Feature

Merge Risk: Moderate · up to 376f7

The CSP now permits the Bansify widget origin, but the app still requests the account widget from the old Gothwadtech origin. The account menu will fail to load once these headers are deployed. Update the brand origin and the matching tests before merging.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@GothwadTech
GothwadTech merged commit b2ffe27 into main Nov 23, 2026
2 of 5 checks passed
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.

1 participant