add set cookie

This commit is contained in:
afazio1
2024-04-11 02:34:32 -04:00
parent 5d0f258e5f
commit 04d8c8504c
4 changed files with 54 additions and 3 deletions

View File

@@ -134,3 +134,7 @@ STATIC_URL = "static/"
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
AUTH_USER_MODEL = "api.PeerUser"
CORS_ALLOW_ALL_ORIGINS = True
# CORS_ALLOWED_ORIGINS = [
# "http://localhost:5173"
# ]
CORS_ALLOW_CREDENTIALS = True