supportingami / sami-maths-club

A collection of resources for extra-curricular maths clubs. Available for Android, IOS and Web
https://mathsclub.samicharity.co.uk
GNU General Public License v3.0
4 stars 1 forks source link

Add better uptime check #89

Open chrismclarke opened 3 years ago

chrismclarke commented 3 years ago

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).