Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better uptime check #89

Open
chrismclarke opened this issue Sep 16, 2020 · 0 comments
Open

Add better uptime check #89

chrismclarke opened this issue Sep 16, 2020 · 0 comments

Comments

@chrismclarke
Copy link
Member

External uptime checks simply look for response code (200), so only testing firebase hosting service. More useful would be a custom cloud function (e.g. /healthcheck or /uptime) that queries a couple URLs (home and re-routed page), and checks that expected content appears (e.g. header elements). This would handle case where broken javascript is uploaded or a mismatch between server API files and content (from SEOHost function).

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

No branches or pull requests

1 participant