Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ab7323

Browse files
code refactored
1 parent 6d79ff3 commit 7ab7323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async def add_security_headers(request: Request, call_next):
176176
if is_development(config_instance=config_instance):
177177
app.add_middleware(TrustedHostMiddleware, allowed_hosts=["gateway.eod-stock-api.site", "localhost", "127.0.0.1"])
178178
else:
179-
app.add_middleware(TrustedHostMiddleware, allowed_hosts=["gateway.eod-stock-api.site"])
179+
app.add_middleware(TrustedHostMiddleware, allowed_hosts=["master-gateway.eod-stock-api.site", "gateway.eod-stock-api.site"])
180180

181181
# Rate Limit per IP Must Always Match The Rate Limit of the Highest Plan Allowed
182182
rate_limit, _, duration = RateLimits().ENTERPRISE

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /