lots of updates :/

This commit is contained in:
2025-11-30 15:34:08 -05:00
parent 61e198ff55
commit e06a5d49f8
84 changed files with 6614 additions and 2297 deletions

View File

@@ -19,6 +19,7 @@ INSTALLED_APPS = [
"rest_framework_api_key",
'socials',
'events',
'config',
# 'academia_nuts',
# 'leg_info',
]
@@ -45,5 +46,15 @@ DATABASES = {
}
}
CORS_ALLOWED_ORIGINS = [
'http://localhost:5173',
'https://digisnaxx.com',
'https://www.digisnaxx.com',
'https://www.canincarlos.com',
'https://canincarlos.com',
'https://dreamfreely.org',
'https://www.dreamfreely.org'
]
from config.django.core import *
from config.settings.restframework import *

View File

@@ -7,4 +7,13 @@ DEBUG = env.bool('DEBUG', default=True)
ALLOWED_HOSTS=['localhost',]
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']
CORS_ALLOWED_ORIGINS = [
'http://localhost:5173',
'https://digisnaxx.com',
'https://www.digisnaxx.com',
'https://www.canincarlos.com',
'https://canincarlos.com',
'https://dreamfreely.org',
'https://www.dreamfreely.org'
]

View File

@@ -5,4 +5,14 @@ SECRET_KEY = env('SECRET_KEY')
DEBUG = env.bool('DEBUG', default=False)
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
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',
'https://www.digisnaxx.com',
'https://www.canincarlos.com',
'https://canincarlos.com',
'https://dreamfreely.org',
'https://www.dreamfreely.org'
]