Make work with astra

This commit is contained in:
Andras Schmelczer 2026-09-14 08:01:49 +01:00
commit c8ee5045e2

View file

@ -1,4 +1,5 @@
import json
import os
import re
from enum import Enum
from http.server import BaseHTTPRequestHandler, HTTPServer
@ -6,7 +7,7 @@ from socketserver import ThreadingMixIn
# SETUP #
#
hostAddress = "0.0.0.0"
hostAddress = os.environ.get("SIMULATION_BIND_ADDRESS", "0.0.0.0")
hostPort = 8080
network = re.compile(r"(127)\.(0)\.(0)\..+")
#