lots of updates :/
This commit is contained in:
@@ -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 *
|
||||
@@ -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'
|
||||
]
|
||||
@@ -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'
|
||||
]
|
||||
Reference in New Issue
Block a user