fix: update existing default site in seed command #8

Merged
mark merged 2 commits from fix/seed-default-site into main 2026-02-28 20:35:15 +00:00
Owner

Wagtail initialises the default site with hostname localhost. The previous get_or_create on 127.0.0.1 left the localhost site intact (still pointing to the Welcome page), so browsers got the wrong root page.

Fix: find and update the existing default site instead of hardcoding the hostname.

Wagtail initialises the default site with hostname `localhost`. The previous `get_or_create` on `127.0.0.1` left the localhost site intact (still pointing to the Welcome page), so browsers got the wrong root page. Fix: find and update the existing default site instead of hardcoding the hostname.
codex_a added 1 commit 2026-02-28 20:31:50 +00:00
fix: update existing default site in seed command instead of hardcoding 127.0.0.1
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m10s
CI / ci (pull_request) Successful in 1m22s
56e53478ea
Wagtail initialises the default site with hostname 'localhost'. The previous
get_or_create on '127.0.0.1' left the localhost site intact (still pointing
to the Welcome page), so browsers got the wrong root page.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
codex_a added 1 commit 2026-02-28 20:33:42 +00:00
fix: remove server-specific playwright volume from dev compose, auto-seed on startup
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m6s
CI / ci (pull_request) Successful in 1m23s
7b2ad4cfe5
- /opt/playwright-tools/browsers only exists on agent-workspace; mounting it
  in docker-compose.yml breaks local dev for everyone else
- seed_e2e_content is idempotent so safe to run on every startup; removes the
  manual step that nobody knew about

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mark merged commit 076aaa0b9e into main 2026-02-28 20:35:15 +00:00
mark deleted branch fix/seed-default-site 2026-02-28 20:35:16 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nohype/main-site#8