Skip to content

Restore admin claims dashboard and add /admin/claims rewrite#360

Merged
GsCommand merged 1 commit into
mainfrom
codex/investigate-404-error-for-claims-page
May 27, 2026
Merged

Restore admin claims dashboard and add /admin/claims rewrite#360
GsCommand merged 1 commit into
mainfrom
codex/investigate-404-error-for-claims-page

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • The admin claims dashboard static page at public/admin/claims.html was missing, causing /admin/claims.html to return 404 because there was no static asset to serve.
  • Provide a stable operator-facing dashboard at the same public path without changing API/payment/Stripe/webhook/claim validation logic.
  • Ensure convenient access via a short path /admin/claims while preserving direct .html access.

Description

  • Restored the admin dashboard static page at public/admin/claims.html using the most recent public copy so the original UI is available at the exact path.
  • Added an explicit Vercel rewrite in vercel.json mapping /admin/claims -> /admin/claims.html and preserved existing rewrites so .html routes remain unaffected.
  • Did not modify any API authentication, payment flow, Stripe/webhook handling, or claim validation; the API-level ADMIN_API_KEY protection remains enforced.

Testing

  • Ran npm test in the repo and all tests passed (82 passed, 0 failed).
  • Ran npm run check:links and confirmed all local links/assets resolved across HTML files.
  • Ran cd examples/webhook-auto-verify && npm run check and the example checks completed successfully.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

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

Project Deployment Actions Updated (UTC)
commandlayer-commandlayer-org Ready Ready Preview, Comment May 27, 2026 3:22am
commandlayer-org Ready Ready Preview, Comment May 27, 2026 3:22am
commandlayer-org111 Ready Ready Preview, Comment May 27, 2026 3:22am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant