changed port for localhost from 5173 to 4200 in allow_origins_regex
This commit is contained in:
@@ -22,7 +22,7 @@ app.add_middleware(
|
||||
allow_origins_regex=[
|
||||
"^https://[a-zA-Z0-9.-]+\\.kanzleiapp\\.io$",
|
||||
"^https://[a-zA-Z0-9.-]+\\.masasana\\.ai$",
|
||||
"http://localhost:5173" #added a common localhost dev server
|
||||
"http://localhost:4200" #added a common localhost dev server
|
||||
],
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
|
||||
Reference in New Issue
Block a user