Ali2206 commited on
Commit
4ae0f3d
·
verified ·
1 Parent(s): 372de92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ app = FastAPI()
25
  # CORS Configuration (restrict in production)
26
  app.add_middleware(
27
  CORSMiddleware,
28
- allow_origins=["http://localhost:7860", "https://your-production-domain.com"],
29
  allow_credentials=True,
30
  allow_methods=["*"],
31
  allow_headers=["*"],
 
25
  # CORS Configuration (restrict in production)
26
  app.add_middleware(
27
  CORSMiddleware,
28
+ allow_origins=["http://localhost:7860", "https://rocketfarmstudios-cps-api.hf.space"],
29
  allow_credentials=True,
30
  allow_methods=["*"],
31
  allow_headers=["*"],