Skip to content

Commit

Permalink
Print the region and the location on the web page
Browse files Browse the repository at this point in the history
  • Loading branch information
pnedkov committed Jan 28, 2024
1 parent e651213 commit 635373e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipask/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
<td>{{ client_info.xff }}</td>
</tr>
{% endif %}
{% if client_info.city and client_info.country %}
{% if client_info.city and client_info.country and client_info.region and client_info.location %}
<tr>
<td>curl {{ client_info.server_host }}/city<br>curl {{ client_info.server_host }}/country</td>
<td>{{ client_info.city }}, {{ client_info.country }}</td>
<td>{{ client_info.city }}, {{ client_info.region }}, {{ client_info.country }} ({{ client_info.location }})</td>
</tr>
{% endif %}
<tr>
Expand Down

0 comments on commit 635373e

Please sign in to comment.