Repository navigation
crawlproof.com/studio: Myna Studio social scheduler on this hostname - #478
Merged
Merged
Conversation
…tname Relays /studio/* to mynaposter.com/studio with x-studio-origin so sign-in, invites and the page shell are built for crawlproof.com. Only the studio's own cookies go upstream. Social link in the header and footer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 6 file(s) this pull request changes. Nothing in the files this pull request changes. 56 pre-existing finding(s) elsewhere in the repository — **HIGH**: 3 | **MEDIUM**: 34 | **LOW**: 19Not introduced by this pull request.
…and 36 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Serves Myna Studio (clean-room Postiz-style social scheduler built on myna, profullstack/mynaposter#198) at crawlproof.com/studio, one hostname for the visitor.
app/studio/[[...path]]/route.ts+lib/studio-relay.ts: relays every /studio request toMYNA_STUDIO_UPSTREAM(default https://mynaposter.com) under /studio/, withx-studio-origin: https://crawlproof.comso the studio's OAuth redirect (c0mpute sign-in), invite links and page shell (CrawlProof Social, crawlproof footer + Profullstack webring) are built for this site. Onlymyna_studio*cookies go upstream; crawlproof's Supabase session never leaves. Set-Cookie (Path=/studio), Location and the studio's CSP come back.proxy.ts: /studio skips the Supabase session refresh (the crawl gateway still runs first).Plans are paid from the visitor's c0mpute balance (CoinPay sign-in), see the mynaposter PR.
Tests:
vitest run tests/studio-relay.test.ts4 pass;tsc --noEmitclean.🤖 Generated with Claude Code