feat: add django user center auth integration
This commit is contained in:
+2
-2
@@ -24,8 +24,8 @@ def create_app() -> FastAPI:
|
||||
"http://127.0.0.1:5174",
|
||||
"http://localhost:5174",
|
||||
],
|
||||
allow_origin_regex=r"^http://(127\.0\.0\.1|localhost):\d+$",
|
||||
allow_credentials=False,
|
||||
allow_origin_regex=r"^http://(127\.0\.0\.1|localhost|192\.168\.\d+\.\d+):\d+$",
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user