[fix] cors urls

This commit is contained in:
Data-Name-ID
2024-03-31 21:57:51 +03:00
parent 3fa3766356
commit c3d39ba55b
3 changed files with 2 additions and 1 deletions
+1
View File
@@ -157,4 +157,5 @@ if DEBUG and not (TESTING or MIGRATING):
CORS_ALLOWED_ORIGINS = [ CORS_ALLOWED_ORIGINS = [
"http://158.160.56.239:8080", "http://158.160.56.239:8080",
"http://158.160.56.239:3000",
] ]
+1 -1
View File
@@ -5,7 +5,7 @@ from rest_framework.views import APIView
from teams.models import Team from teams.models import Team
from .serializers import TeamSerializer from teams.serializers import TeamSerializer
class AddUserToTeam(APIView): class AddUserToTeam(APIView):