updated settings | random social_links returned now

This commit is contained in:
2025-10-13 00:22:26 +00:00
parent 1ad86cb1f4
commit 31845835e3
5 changed files with 92 additions and 22 deletions

View File

@@ -3,6 +3,8 @@ from config.env import env
SECRET_KEY = env('SECRET_KEY')
DEBUG = env.bool('DEBUG', default=True)
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
# ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
ALLOWED_HOSTS=['localhost',]
CORS_ALLOW_ALL_ORIGINS = env.bool('CORS_ALLOW_ALL_ORIGINS')
CORS_ALLOWED_ORIGINS=env.list('CORS_ALLOWED_ORIGINS')
# CORS_ALLOWED_ORIGINS=env.list('CORS_ALLOWED_ORIGINS')
CORS_ALLOWED_ORIGINS=['http://localhost:5173', 'https://digisnaxx.com']