Skip to content

Fix server-rendered maintenance page design - #112

Merged
SamRepository25 merged 1 commit into
mainfrom
fix/server-maintenance-page-refresh
Nov 19, 2026
Merged

SamRepository25 merged 1 commit into
mainfrom
fix/server-maintenance-page-refresh

Conversation

@SamRepository25

Copy link
Copy Markdown
Owner

Root cause

The production request middleware in src/start.ts intercepts HTML requests while maintenance mode is enabled and returns renderMaintenancePage() from src/lib/error-page.ts. This server-rendered HTML bypasses the redesigned React MaintenanceGate, which is why production kept showing the old page even though the React component had been updated and deployed.

Fix

  • Redesign the server-rendered maintenance response to match the new CodeForge visual treatment.
  • Use the official CodeForge logo and refresh the maintenance-page favicon/Apple touch icon.
  • Remove the old homepage link entirely.
  • Do not add a countdown or estimated return time.
  • Preserve the existing 503 response, no-store cache policy in middleware, maintenance setting lookup, and admin/auth bypass.

Scope

Only src/lib/error-page.ts is changed. No Supabase settings, environment variables, domain assignments, or deployment settings are modified.

Validation

Source reviewed against the live production middleware path. A Vercel build and browser verification are still required after merge.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
codeforgedev Ready Ready Preview Nov 19, 2026 12:26pm UTC

@SamRepository25
SamRepository25 merged commit d63c4b4 into main Nov 19, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — f14a52ee Deployed Nov 19, 2026 by vercel[bot]
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