We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2988dd commit 22cc78aCopy full SHA for 22cc78a
backend/python_back/server.py
@@ -12,7 +12,7 @@
12
from dotenv import load_dotenv
13
load_dotenv()
14
app = Sanic("Backend_Speech_Server")
15
-app.config.CORS_ORIGINS = os.getenv("CORS_SONIC", 'http://localhost:55756')
+app.config.CORS_ORIGINS = os.getenv("CORS_ORIGIN", 'http://localhost:55756')
16
17
app.config.CORS_METHODS = ["POST", "GET", "OPTIONS"]
18
app.config.CORS_ALLOW_HEADERS = ["Content-Type", "Authorization"]
0 commit comments