feat(backend): support npub and nsec formats in ADMINS env for admin auth
This commit is contained in:
@@ -4,7 +4,7 @@ PORT=3000
|
||||
ALLOW_ORIGINS= # Optional comma-separated allowed CORS origins; empty = permissive
|
||||
|
||||
# Auth
|
||||
ADMINS= # Comma-separated hex pubkeys with admin access
|
||||
ADMINS= # Comma-separated admin keys (hex pubkey or npub)
|
||||
|
||||
# Database
|
||||
DATABASE_URL=sqlite://data/caravel.db
|
||||
|
||||
Reference in New Issue
Block a user