mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-01-19 01:18:48 +00:00
Напоминание о index.html и статус разработки у динамичного сайта
This commit is contained in:
parent
6c11c3e805
commit
3dca4630aa
@ -30,7 +30,10 @@ if op == "1":
|
||||
|
||||
if type == "1":
|
||||
conf = {"type": "static", "ver": 1}
|
||||
print("ПРИМЕЧАНИЕ: index.html обязателен.")
|
||||
elif type == "2":
|
||||
print("В разработке...")
|
||||
exit()
|
||||
port = input("Порт: ")
|
||||
conf = {"type": "dynamic", "ver": 1, "port": int(port)}
|
||||
write(conf, f"mysites/{domain}/config.json")
|
||||
|
Loading…
Reference in New Issue
Block a user