mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-02-08 09:47:36 +00:00
Compare commits
No commits in common. "fa68dda1cfbf0e87642f2899fc7b3fd8352511ac" and "1e1b6214f48ce330414747aa2ed24591ac4d143c" have entirely different histories.
fa68dda1cf
...
1e1b6214f4
2
db.py
2
db.py
@ -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://0.0.0.0:8000"}
|
db = {"our_port": 0000, "ports": [], "domain": "http://127.0.0.1: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)
|
||||||
|
Loading…
Reference in New Issue
Block a user