audio streaming app plyr.fm
38
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: allow public access to static files in moderation service (#397)

the auth middleware was blocking /static/* paths, causing 401 on CSS/JS
files needed for the admin UI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

authored by

nate nowack
Claude
and committed by
GitHub
a2f9f52c ec39e0be

+2
+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);