mirror of
https://github.com/Justuser3310/jetwork.git
synced 2026-06-21 09:11:01 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa68dda1cf | |||
| 04b1b3651e |
@@ -2,7 +2,7 @@ import os
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
if not os.path.exists('config.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)
|
js = json.dumps(db, indent=2)
|
||||||
with open("config.json", "w") as outfile:
|
with open("config.json", "w") as outfile:
|
||||||
outfile.write(js)
|
outfile.write(js)
|
||||||
|
|||||||
Reference in New Issue
Block a user