Skip to content

Point the playground embed at workbook.truecalc.app #129

Description

@hhimanshu

try.truecalc.app is deprecated; workbook.truecalc.app is the canonical playground host and the production target of studio's deploy workflow.

The whole change

components/truecalc.tsx:1

-const PLAYGROUND_ORIGIN = 'https://try.truecalc.app';
+const PLAYGROUND_ORIGIN = 'https://workbook.truecalc.app';

That is the only reference in the repo — every "try it" embed across the docs flows through this one constant.

Check before closing

If the docs site sets a CSP with frame-src, it needs the new origin too, or every embedded playground silently becomes a blank box. That failure mode has no console error a casual check would catch and it only appears in production, so it is worth confirming rather than assuming.

Related

  • truecalc/studio#540 — the try.workbook. redirect. Once that ships this change is belt-and-braces, but the redirect costs a round trip on every embed, so the constant should still be updated.
  • truecalc/website#5 — the same sweep on the marketing site.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions