Skip to content
This repository was archived by the owner on Jul 12, 2026. It is now read-only.

Commit e0fc0c9

Browse files
fix: Add buddytools.org to allowed hosts
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent a55477a commit e0fc0c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929

3030
# Add trusted host middleware (configure ALLOWED_HOSTS env var)
31-
allowed_hosts = os.getenv("ALLOWED_HOSTS", "*.vercel.app,localhost").split(",")
31+
allowed_hosts = os.getenv("ALLOWED_HOSTS", "*.vercel.app,*.buddytools.org,localhost").split(",")
3232
app.add_middleware(TrustedHostMiddleware, allowed_hosts=allowed_hosts)
3333

3434

0 commit comments

Comments
 (0)