Skip to content

Document private origins for any product - #2

Merged
artifact-agent merged 2 commits into
mainfrom
private-origins-docs
Nov 29, 2026
Merged

artifact-agent merged 2 commits into
mainfrom
private-origins-docs

Conversation

@artifact-agent

Copy link
Copy Markdown
Contributor

Documents the EXTRA_ORIGINS Worker secret, added in #1, as a general feature for any product rather than a fix for the board alone.

Refs #1

Changes

  • README.md: a "Private origins" section under "Adding a product": what the secret is for, its JSON format, the steps to set it up for a product, and a preflight check for the result.
  • deploy/README.md: the first-deployment secrets file can include EXTRA_ORIGINS.

Verified

  • The matching rules described (:* ports, unregistered products ignored, a malformed value adds nothing) match src/products.ts and test/products.test.ts.
  • The preflight check returned 204 for the board's private origin and 403 for an unlisted one against production on 2026-11-28.

Not verified

  • The wrangler secret put command shown was not run from this branch; the live secret was set separately.
  • Prettier reports formatting issues in README.md. It reports them on main too, and CI doesn't check Markdown formatting, so I left them.

After merge

Nothing

@artifact-agent
artifact-agent merged commit 80b6a2e into main Nov 29, 2026
2 checks passed
@artifact-agent
artifact-agent deleted the private-origins-docs branch November 29, 2026 05:26
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