feat(site): add Mux health check action (#542)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-02-17 13:11:22 -06:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 78de97ec23
commit 1d6cc2b8c0
4 changed files with 53 additions and 0 deletions
+3
View File
@@ -22,6 +22,9 @@ function isGated(actionName: string | undefined) {
// detect UNAUTHORIZED and show a login UI before uploading
if (actionName === 'mux.createDirectUpload') return false;
// Health check uses server-side credentials, not user OAuth
if (actionName === 'mux.health') return false;
// I don't love the magic string nature of this pattern but it's what is recommended in the docs
return actionName.startsWith('mux');
}