mirror of
https://github.com/Justuser3310/jetwork.git
synced 2026-06-25 02:34:55 +00:00
Замена 127.0.0.1 на 0.0.0.0, удобнее блокировать скрипты
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user