Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

fix(dashboard): configure allowed origins at runtime - #30

Merged
arcultus merged 2 commits into
mainfrom
fix/configure-dashboard-origin
Nov 3, 2026
Merged

arcultus merged 2 commits into
mainfrom
fix/configure-dashboard-origin

Conversation

@arcultus

@arcultus arcultus commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Change

Move dashboard host validation from the image build to the DASHBOARD_ORIGINS runtime environment variable. It accepts comma-separated HTTP(S) origins, such as https://dashboard.example,https://admin.example, and trims surrounding whitespace. Empty or invalid entries fail startup. The same image can serve all configured origins; changes require a server restart. Exact same-origin checks still reject writes between different configured origins.

Update Docker configuration, release tooling, documentation, and origin validation coverage.

Validation

Type checks, production build, 26 unit/transport tests, release fingerprint tests, Compose configuration checks, and git diff --check passed. Focused production and development tests verify both configured origins and reject cross-origin writes and forged origins. Full browser suites passed for the preceding runtime configuration change. Docker image build was not run because disk space was nearly full.

AI assistance

AI assistance contributed to the implementation and tests. The changes were reviewed, and the listed checks were run.

codex added 2 commits November 3, 2026 17:53
- Validate DASHBOARD_ORIGIN when the server starts
- Remove dashboard origin from image build inputs
@arcultus arcultus changed the title fix(dashboard): configure allowed origin at runtime fix(dashboard): configure allowed origins at runtime Nov 3, 2026
@arcultus
arcultus merged commit 8c490d7 into main Nov 3, 2026
3 checks passed
@arcultus
arcultus deleted the fix/configure-dashboard-origin branch November 3, 2026 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants