Files
api.digisnaxx/config/django/local.py

10 lines
389 B
Python
Raw Normal View History

2025-10-11 21:43:11 -05:00
from .base import *
from config.env import env
SECRET_KEY = env('SECRET_KEY')
DEBUG = env.bool('DEBUG', default=True)
# ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
ALLOWED_HOSTS=['localhost',]
2025-10-11 21:43:11 -05:00
CORS_ALLOW_ALL_ORIGINS = env.bool('CORS_ALLOW_ALL_ORIGINS')
# CORS_ALLOWED_ORIGINS=env.list('CORS_ALLOWED_ORIGINS')
CORS_ALLOWED_ORIGINS=['http://localhost:5173', 'https://digisnaxx.com']