GopalKrushnaMahapatra commited on
Commit
654c9ad
·
verified ·
1 Parent(s): c0a2539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -94,11 +94,12 @@ app = FastAPI(title="TrueWrite Scan (Python Backend)")
94
 
95
  app.add_middleware(
96
  CORSMiddleware,
97
- allow_origin_regex=r"https://true-write-scan.vercel.app",
98
  allow_credentials=True,
99
  allow_methods=["*"],
100
  allow_headers=["*"],
101
  )
 
102
 
103
  # ------------------ MODELS ------------------
104
  class SignupRequest(BaseModel):
 
94
 
95
  app.add_middleware(
96
  CORSMiddleware,
97
+ allow_origin_regex=r"https://true-write-scan.*\.vercel\.app",
98
  allow_credentials=True,
99
  allow_methods=["*"],
100
  allow_headers=["*"],
101
  )
102
+ )
103
 
104
  # ------------------ MODELS ------------------
105
  class SignupRequest(BaseModel):