fix(admin): secure routes, add real IP detection, SMTP header validation, and fix Next.js layout hydration mismatch
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m5s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m5s
This commit is contained in:
@@ -19,11 +19,15 @@ from middleware import tier_quota as tier_quota_mod
|
||||
from middleware.tier_quota import (
|
||||
TierQuotaService,
|
||||
QuotaResult,
|
||||
FREE_TIER_DAILY_LIMIT,
|
||||
FREE_TIER_MONTHLY_LIMIT as FREE_TIER_DAILY_LIMIT,
|
||||
_memory_usage,
|
||||
_seconds_until_midnight_utc,
|
||||
)
|
||||
|
||||
def _seconds_until_midnight_utc():
|
||||
from middleware.tier_quota import _seconds_until_next_month
|
||||
return _seconds_until_next_month()
|
||||
|
||||
|
||||
|
||||
# Force in-memory backend and reset state so tests are isolated
|
||||
@pytest.fixture(autouse=True)
|
||||
|
||||
Reference in New Issue
Block a user