#!/usr/bin/env python3
import http.server, socketserver, os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
PORT = 8080
class H(http.server.SimpleHTTPRequestHandler):
    extensions_map = {'.html': 'text/html', '': 'application/octet-stream'}
with socketserver.TCPServer(("0.0.0.0", PORT), H) as httpd:
    print(f"serving poc.html on http://<LAN-IP>:{PORT}/poc.html")
    httpd.serve_forever()
