feat: expand cors
This commit is contained in:
+6
-1
@@ -14,7 +14,12 @@ app = FastAPI()
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["http://localhost:3000", "https://localhost:3000"],
|
||||
allow_origins=[
|
||||
"http://localhost:3000",
|
||||
"http://192.168.125.129:3000",
|
||||
"https://192.168.125.129:3000",
|
||||
"https://site.muszyn.dev",
|
||||
],
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
|
||||
Reference in New Issue
Block a user