mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
The http server used in get-token.py shall listen on 127.0.0.1
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
d9909fb155
commit
83172387a7
@ -49,7 +49,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
|||||||
|
|
||||||
code = ''
|
code = ''
|
||||||
|
|
||||||
server_address = ('', 8745)
|
server_address = ('127.0.0.1', 8745)
|
||||||
httpd = http.server.HTTPServer(server_address, Handler)
|
httpd = http.server.HTTPServer(server_address, Handler)
|
||||||
|
|
||||||
if not os.getenv('SSH_CONNECTION'):
|
if not os.getenv('SSH_CONNECTION'):
|
||||||
|
Loading…
Reference in New Issue
Block a user