squash bug, upload screenshot, update readme.

This commit is contained in:
justin authored and GitHub committed 2026-05-25 16:05:20 -07:00
1 parent f5be6d53b2
commit 83cd028bcc
4 files changed
+150 -886

No files matched your search

+5 -1
View File
@@ -8,6 +8,10 @@ import threading
import time
import urllib.request
from http.server import BaseHTTPRequestHandler, HTTPServer
from socketserver import ThreadingMixIn
class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):
daemon_threads = True
from urllib.parse import urlparse
PORT = 7777
@@ -257,5 +261,5 @@ if __name__ == "__main__":
print(" Starting location daemon...", flush=True)
start_daemon()
threading.Thread(target=location_loop, daemon=True).start()
server = HTTPServer(("localhost", PORT), Handler)
server = ThreadedHTTPServer(("localhost", PORT), Handler)
server.serve_forever()