refactor(backend): remove auth for public API
Deploy to VPS / deploy (push) Failing after 35s
Deploy to VPS / deploy (push) Failing after 35s
- Remove auth module (auth.routes.ts, /api/auth/login) - Remove adminAuth middleware from voice and media routes - Remove adminAuth() function from shared middlewares - Remove auth-related e2e test - Clean up .env.example
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ NODE_ENV=development # Environment: development|production|te
|
||||
VERBOSE=false # Enable verbose/debug logging (default: false)
|
||||
|
||||
# === Admin ===
|
||||
ADMIN_PASSWORD=admin123 # Backend admin password for API auth (default: admin123)
|
||||
# ADMIN_PASSWORD removed — dashboard is public
|
||||
|
||||
# === Database (PostgreSQL) ===
|
||||
# Option 1: Connection string (overrides individual params)
|
||||
|
||||
Reference in New Issue
Block a user