fix(mirror): bind file mirror server to 0.0.0.0 for qemu guest access via 10.0.2.2

This commit is contained in:
vxtls 2026-03-03 19:03:02 -05:00
parent b733cf2526
commit 35a570bc4e

View file

@ -12,7 +12,7 @@ class SimpleMirror(socketserver.TCPServer):
"""Simple HTTP mirror from a directory"""
def __init__(self, directory: str):
self.directory = directory
super().__init__(("localhost", 0), self._handler)
super().__init__(("0.0.0.0", 0), self._handler)
@property
def port(self):