mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-01-18 08:58:48 +00:00
fix
This commit is contained in:
parent
ec0523d52c
commit
ffcf047286
@ -82,11 +82,10 @@ def server(http_port):
|
||||
conn.send("not_exist".encode())
|
||||
elif op[:8] == "publish_":
|
||||
data = op[8:]
|
||||
site, port = data.split("<>")
|
||||
site = domain_ok(site)
|
||||
if site:
|
||||
site, u_port = data.split("<>")
|
||||
if domain_ok(site):
|
||||
conn.send("accepted".encode())
|
||||
client(port, f"get_{site}")
|
||||
client(u_port, f"get_{site}")
|
||||
elif op == "check_all":
|
||||
try:
|
||||
sites = next(os.walk('cached/'), (None, None, []))[1]
|
||||
|
Loading…
Reference in New Issue
Block a user