Skip to content

Commit 4d49bb0

Browse files
author
AhmadMWaddah
committed
Fix: Add SEED_TOKEN env var to prod settings
Enables /seed/ endpoint to work when SEED_TOKEN is set in Render env vars
1 parent 4547693 commit 4d49bb0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config/settings/prod.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
if not env("ALLOWED_HOSTS", default=None) and not env("CI", default=False):
2222
raise ImproperlyConfigured("ALLOWED_HOSTS must be set in production")
2323

24+
SEED_TOKEN = env("SEED_TOKEN", default="")
25+
2426
SECURE_SSL_REDIRECT = True
2527
SESSION_COOKIE_SECURE = True
2628
CSRF_COOKIE_SECURE = True

0 commit comments

Comments
 (0)