fix: update middleware for custom auth and increase dev rate limit
Some checks failed
Build and Deploy / build (push) Successful in 3m53s
Build and Deploy / deploy (push) Failing after 4s

- Change session cookie name from better-auth.session_token to session_token
- Increase rate limit to 100 req/min in development (10 in production)
- Fix DATABASE_URL to use URL-encoded password for special characters

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Lorentz 2026-02-16 13:13:56 +00:00
parent a123d5e394
commit e371581375
2 changed files with 6 additions and 5 deletions

View file

@ -72,7 +72,7 @@ services:
- web
environment:
NODE_ENV: development
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/vorteq_dev
DATABASE_URL: postgresql://postgres:L9IbAPm7zFFaTdfCgVxDQhK7cKp8%2BwGH1pNp%2Fsz0joA%3D@postgres:5432/vorteq_dev
REDIS_URL: redis://redis:6379/0
BETTER_AUTH_SECRET: ${DEV_AUTH_SECRET}
BETTER_AUTH_URL: https://${DEV_DOMAIN}