Indicate where we're serving

This commit is contained in:
Mark McGranaghan 2019-05-29 07:44:10 -07:00
parent 0f3141a5fc
commit be8a0d93ba

View File

@ -14,4 +14,6 @@ Handler.extensions_map.update({
'': 'text/html', '': 'text/html',
}); });
httpd = SocketServer.TCPServer(("", PORT), Handler) httpd = SocketServer.TCPServer(("", PORT), Handler)
print("Serving Go by Example at http://127.0.0.1:{}".format(PORT))
httpd.serve_forever() httpd.serve_forever()