Make work with astra
This commit is contained in:
parent
21859bcfb3
commit
c8ee5045e2
1 changed files with 6338 additions and 4613 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import json
|
||||
import os
|
||||
import random
|
||||
import re
|
||||
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 = 8081
|
||||
network = re.compile(r"(127)\.(0)\.(0)\..*")
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue