pluto90 commited on
Commit
5b68068
·
verified ·
1 Parent(s): 2b1452a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -28,7 +28,10 @@ FRONTEND_URL = "https://image-stylizer-deploy.vercel.app"
28
 
29
  app.add_middleware(
30
  CORSMiddleware,
31
- allow_origins=[FRONTEND_URL],
 
 
 
32
  allow_credentials=True,
33
  allow_methods=["*"],
34
  allow_headers=["*"],
 
28
 
29
  app.add_middleware(
30
  CORSMiddleware,
31
+ allow_origins=[
32
+ "https://image-stylizer-deploy.vercel.app",
33
+ "http://localhost:5173", # for local testing
34
+ ],
35
  allow_credentials=True,
36
  allow_methods=["*"],
37
  allow_headers=["*"],