Don't require auth for health check endpoint
Some checks failed
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / docs (push) Successful in 32s
Push Workflows / clippy (push) Successful in 28s
Push Workflows / leptos-test (push) Successful in 59s
Push Workflows / test (push) Successful in 1m7s
Push Workflows / build (push) Successful in 2m6s
Push Workflows / docker-build (push) Failing after 11m21s
Push Workflows / nix-build (push) Successful in 15m21s

This commit is contained in:
2025-05-03 05:30:47 +00:00
parent 6bb6322aa4
commit e2a395ae7c

View File

@ -10,11 +10,12 @@ use crate::util::auth_backend::AuthBackend;
use axum::extract::FromRequestParts;
// Things in pkg/ are allowed automatically. This includes the CSS/JS/WASM files
const ALLOWED_PATHS: [&str; 5] = [
const ALLOWED_PATHS: [&str; 6] = [
"/login",
"/signup",
"/api/login",
"/api/signup",
"/api/health",
"/favicon.ico",
];