Spaces:
Configuration error
Configuration error
Update settings.py
Browse files- config/settings.py +3 -3
config/settings.py
CHANGED
@@ -50,9 +50,9 @@ INSTALLED_APPS = [
|
|
50 |
|
51 |
CORS_ALLOW_ALL_ORIGINS = True # If this is used then `CORS_ALLOWED_ORIGINS` will not have any effect
|
52 |
CORS_ALLOW_CREDENTIALS = True
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
REST_FRAMEWORK = {
|
58 |
'DEFAULT_AUTHENTICATION_CLASSES': [
|
|
|
50 |
|
51 |
CORS_ALLOW_ALL_ORIGINS = True # If this is used then `CORS_ALLOWED_ORIGINS` will not have any effect
|
52 |
CORS_ALLOW_CREDENTIALS = True
|
53 |
+
CORS_ALLOWED_ORIGINS = [
|
54 |
+
'https://undetectable-voice-clone.hf.space', "http://94.101.98.237:7860" ,"https://voice-clone-frontend.vercel.app" ,"https://voice.undetectable.ai" ,"https://api.voice.undetectable.ai"
|
55 |
+
]
|
56 |
|
57 |
REST_FRAMEWORK = {
|
58 |
'DEFAULT_AUTHENTICATION_CLASSES': [
|