Update server.py
Browse files
server.py
CHANGED
|
@@ -175,6 +175,7 @@ def sync():
|
|
| 175 |
# 复制公钥到远程服务器
|
| 176 |
copy_public_key_to_remote(frp_url, ssh_port, "root", "qilan")
|
| 177 |
# 写入到 /sync.sh 文件中
|
|
|
|
| 178 |
try:
|
| 179 |
with open('/sync.sh', 'w') as file:
|
| 180 |
file.write(script_content)
|
|
|
|
| 175 |
# 复制公钥到远程服务器
|
| 176 |
copy_public_key_to_remote(frp_url, ssh_port, "root", "qilan")
|
| 177 |
# 写入到 /sync.sh 文件中
|
| 178 |
+
print(script_content)
|
| 179 |
try:
|
| 180 |
with open('/sync.sh', 'w') as file:
|
| 181 |
file.write(script_content)
|