Portal decision B: client portal on my.debtrecoveryexperts.com
- DRE_BASE_URL -> https://my.debtrecoveryexperts.com (magic links, team notify) - CORS allow_origins adds https://my.debtrecoveryexperts.com - magic-link path /portal/verify -> /verify (client portal is domain root, not a subpath)
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ app = FastAPI(title="DRE Customer Portal API", version="1.0.0", docs_url="/docs"
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["https://portal.debtrecoveryexperts.com", "http://127.0.0.1:8093"],
|
||||
allow_origins=["https://portal.debtrecoveryexperts.com", "https://my.debtrecoveryexperts.com", "http://127.0.0.1:8093"],
|
||||
allow_methods=["GET", "POST", "PATCH"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user