Spaces:
Sleeping
Sleeping
Synced repo using 'sync_with_huggingface' Github Action
Browse files
main.py
CHANGED
@@ -6,7 +6,7 @@ from starlette.middleware.cors import CORSMiddleware
|
|
6 |
from src.main import main
|
7 |
|
8 |
# import os
|
9 |
-
origins = ["http://localhost:3000"]
|
10 |
|
11 |
# origins = os.getenv("ALLOWED_ORIGINS", "").split(",")
|
12 |
app = FastAPI(debug=ENV_VAR.DEBUG)
|
|
|
6 |
from src.main import main
|
7 |
|
8 |
# import os
|
9 |
+
origins = ["http://localhost:3000","https://chatbothub.vercel.app"]
|
10 |
|
11 |
# origins = os.getenv("ALLOWED_ORIGINS", "").split(",")
|
12 |
app = FastAPI(debug=ENV_VAR.DEBUG)
|