Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsndk committed Apr 22, 2024
1 parent c3c49b0 commit eacd64a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,6 @@ def create_server_api(**args):
# If we are not running in HTTPS_MODE servers_to_client will use actual_ip instead
actual_ip = ip

# if is_sdk: actual_ip=ip=domain.server_ip
# TODO: makes an ip like eu1.adventure.land, this is hardcoded and should be changed
if domain.https_mode: ip="%s.%s"%(ip_to_subdomain.get(ip,ip),live_domain)
lat,lon=(request.headers.get("X-Appengine-Citylatlong")or"0,0").split(",")
Expand Down

0 comments on commit eacd64a

Please sign in to comment.