changed port for localhost from 5173 to 4200 in allow_origins_regex

This commit is contained in:
Justin Weins 2025-05-09 14:07:46 +02:00
parent 5c1e6501f9
commit cb69587afb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ app.add_middleware(
allow_origins_regex=[ allow_origins_regex=[
"^https://[a-zA-Z0-9.-]+\\.kanzleiapp\\.io$", "^https://[a-zA-Z0-9.-]+\\.kanzleiapp\\.io$",
"^https://[a-zA-Z0-9.-]+\\.masasana\\.ai$", "^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_credentials=True,
allow_methods=["*"], allow_methods=["*"],