mirror of
https://gitlab.com/2-chainz/2chainz.git
synced 2025-06-16 01:46:39 +00:00
format
This commit is contained in:
parent
455fd28bc2
commit
964ba43a2b
@ -10,7 +10,8 @@ from fastapi.middleware.trustedhost import TrustedHostMiddleware
|
|||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
TrustedHostMiddleware, allowed_hosts=["ansonbiggs.com", "*.ansonbiggs.com", "localhost"]
|
TrustedHostMiddleware,
|
||||||
|
allowed_hosts=["ansonbiggs.com", "*.ansonbiggs.com", "localhost"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user