mirror of
https://github.com/adulau/mmdb-server.git
synced 2024-11-23 10:17:04 +00:00
chg: [server] display port
This commit is contained in:
parent
bee9df24fd
commit
103a58e3b8
1 changed files with 1 additions and 1 deletions
|
@ -87,5 +87,5 @@ app.add_route('/', MyGeoLookup())
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
with make_server('', port, app) as httpd:
|
with make_server('', port, app) as httpd:
|
||||||
print('Serving on port 8000...')
|
print(f'Serving on port {port}...')
|
||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
|
|
Loading…
Reference in a new issue