This commit is contained in:
parent
18f0f78de0
commit
5832bb6b3c
@ -54,7 +54,7 @@ app = FastAPI(
|
||||
app.add_middleware(GZipMiddleware, minimum_size=1000)
|
||||
|
||||
if not settings.PRODUCTION:
|
||||
allowed_origins = ["http://localhost:3000", "http://localhost:5001", "https://stg.samliu.io.vn"]
|
||||
allowed_origins = ["http://localhost:5001", "https://stg.samliu.io.vn"]
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
|
Loading…
x
Reference in New Issue
Block a user