feat: add error handling to player creation and update gitignore for agent
This commit is contained in:
10
.agent/memories.md
Normal file
10
.agent/memories.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Project Memories & Security Notes
|
||||
|
||||
## Security
|
||||
- **Admin Seed Route**: The route `/api/admin/seed` MUST remain restricted to `development` environment only. It allows creating a Super Admin without authentication.
|
||||
- **Middleware Protection**: Admin API routes (`/api/admin/*`) are protected by `admin_session` cookie verification. Failed verification returns 401 JSON.
|
||||
|
||||
## Repetitivas
|
||||
|
||||
- Sempre suba o container apos alteracaoes!
|
||||
- Sempre verifique o terminal atrás de problemas de problemas no terminal
|
||||
Reference in New Issue
Block a user