Spaces:
Runtime error
Runtime error
Update voiceassist/settings.py
Browse files- voiceassist/settings.py +4 -1
voiceassist/settings.py
CHANGED
@@ -40,6 +40,9 @@ SECRET_KEY = "django-insecure-qx!bso^+a%d!fuu9ti6i_)^hv(1iunmkha9le#4(%y$6v3vzrf
|
|
40 |
DEBUG = True
|
41 |
|
42 |
ALLOWED_HOSTS = ["*","thejagstudio-voiceassist.hf.space"]
|
|
|
|
|
|
|
43 |
|
44 |
CORS_ORIGIN_ALLOW_ALL = True
|
45 |
|
@@ -75,7 +78,7 @@ MIDDLEWARE = [
|
|
75 |
ROOT_URLCONF = "voiceassist.urls"
|
76 |
SETTINGS_PATH = Path(__file__).resolve().parent.parent
|
77 |
TEMPLATE_DIRS = (
|
78 |
-
|
79 |
"templates"
|
80 |
)
|
81 |
TEMPLATES = [
|
|
|
40 |
DEBUG = True
|
41 |
|
42 |
ALLOWED_HOSTS = ["*","thejagstudio-voiceassist.hf.space"]
|
43 |
+
CORS_ALLOWED_ORIGINS = [
|
44 |
+
'https://thejagstudio-voiceassist.hf.space'
|
45 |
+
]
|
46 |
|
47 |
CORS_ORIGIN_ALLOW_ALL = True
|
48 |
|
|
|
78 |
ROOT_URLCONF = "voiceassist.urls"
|
79 |
SETTINGS_PATH = Path(__file__).resolve().parent.parent
|
80 |
TEMPLATE_DIRS = (
|
81 |
+
"vafront/dist"
|
82 |
"templates"
|
83 |
)
|
84 |
TEMPLATES = [
|