Skip to content

Commit 22cc78a

Browse files
Update server.py
1 parent f2988dd commit 22cc78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/python_back/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from dotenv import load_dotenv
1313
load_dotenv()
1414
app = Sanic("Backend_Speech_Server")
15-
app.config.CORS_ORIGINS = os.getenv("CORS_SONIC", 'http://localhost:55756')
15+
app.config.CORS_ORIGINS = os.getenv("CORS_ORIGIN", 'http://localhost:55756')
1616

1717
app.config.CORS_METHODS = ["POST", "GET", "OPTIONS"]
1818
app.config.CORS_ALLOW_HEADERS = ["Content-Type", "Authorization"]

0 commit comments

Comments
 (0)