cors origin
This commit is contained in:
@@ -147,3 +147,10 @@ MEDIA_ROOT = BASE_DIR / 'resources/media'
|
|||||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||||
|
|
||||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
|
"https://serenmebel.uz",
|
||||||
|
"https://www.serenmebel.uz",
|
||||||
|
"https://api.serenmebel.uz",
|
||||||
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user