Напоминание о index.html и статус разработки у динамичного сайта

main
none 8 months ago
parent 6c11c3e805
commit 3dca4630aa

@ -30,7 +30,10 @@ if op == "1":
if type == "1": if type == "1":
conf = {"type": "static", "ver": 1} conf = {"type": "static", "ver": 1}
print("ПРИМЕЧАНИЕ: index.html обязателен.")
elif type == "2": elif type == "2":
print("В разработке...")
exit()
port = input("Порт: ") port = input("Порт: ")
conf = {"type": "dynamic", "ver": 1, "port": int(port)} conf = {"type": "dynamic", "ver": 1, "port": int(port)}
write(conf, f"mysites/{domain}/config.json") write(conf, f"mysites/{domain}/config.json")

Loading…
Cancel
Save