1
0
mirror of https://gitlab.com/2-chainz/2chainz.git synced 2025-06-15 17:36:39 +00:00
This commit is contained in:
Anson 2025-05-23 15:36:37 -06:00
parent 455fd28bc2
commit 964ba43a2b

View File

@ -10,7 +10,8 @@ from fastapi.middleware.trustedhost import TrustedHostMiddleware
app = FastAPI()
app.add_middleware(
TrustedHostMiddleware, allowed_hosts=["ansonbiggs.com", "*.ansonbiggs.com", "localhost"]
TrustedHostMiddleware,
allowed_hosts=["ansonbiggs.com", "*.ansonbiggs.com", "localhost"],
)