Skip to content

fix: 404 logging and feed → mode redirect#123

Merged
MarketDataApp merged 1 commit intomainfrom
staging
Feb 24, 2026
Merged

fix: 404 logging and feed → mode redirect#123
MarketDataApp merged 1 commit intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

Summary

  • Enable Cloudflare Workers Logs observability with 100% sampling for 404 diagnostics
  • Log 404 paths and referers to Workers Logs (filterable by level = 404)
  • Copy 404.html to build root in CI so Cloudflare Pages serves the custom 404 page
  • Add client redirect from /api/universal-parameters/feed to /api/universal-parameters/mode

Test plan

  • Verify staging deploy succeeds
  • Visit www.marketdata.app/docs-staging/api/universal-parameters/feed and confirm redirect to /mode
  • Visit a fake URL and confirm custom 404 page loads
  • Check Workers Logs in Cloudflare dashboard with level = 404 filter

- Enable Workers Logs observability for 404 diagnostics
- Log 404 paths with referer to Cloudflare Workers Logs
- Copy 404.html to build root so Cloudflare Pages finds it
- Add client redirect from /api/universal-parameters/feed to /mode
@MarketDataApp MarketDataApp merged commit f9beca8 into main Feb 24, 2026
1 check passed
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