Замена 127.0.0.1 на 0.0.0.0, удобнее блокировать скрипты

main
justuser 5 months ago
parent e754739219
commit 04b1b3651e

@ -2,7 +2,7 @@ import os
import json
if not os.path.exists('config.json'):
db = {"our_port": 0000, "ports": [], "domain": "http://127.0.0.1:8000"}
db = {"our_port": 0000, "ports": [], "domain": "http://0.0.0.0:8000"}
js = json.dumps(db, indent=2)
with open("config.json", "w") as outfile:
outfile.write(js)

Loading…
Cancel
Save