Merge pull request #219 from kerrickstaley/localhost
Bind mediaserver on 127.0.0.1 instead of localhost
This commit is contained in:
commit
ab46a4530c
@ -48,7 +48,7 @@ class MediaServer(threading.Thread):
|
|||||||
_ready = threading.Event()
|
_ready = threading.Event()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.server = ThreadedHTTPServer(("localhost", 0), RequestHandler)
|
self.server = ThreadedHTTPServer(("127.0.0.1", 0), RequestHandler)
|
||||||
self._ready.set()
|
self._ready.set()
|
||||||
self.server.serve_forever()
|
self.server.serve_forever()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user