+2
moderation/src/auth.rs
+2
moderation/src/auth.rs
···
13
13
14
14
// Public endpoints - no auth required
15
15
// Note: /admin serves HTML, auth is handled client-side for API calls
16
+
// Static files must be public for admin UI CSS/JS to load
16
17
if path == "/"
17
18
|| path == "/health"
18
19
|| path == "/admin"
20
+
|| path.starts_with("/static/")
19
21
|| path.starts_with("/xrpc/com.atproto.label.")
20
22
{
21
23
return Ok(next.run(req).await);