Update __init__.py

This commit is contained in:
Mr Chen 2024-10-28 15:47:40 +08:00
parent a593e2b8e0
commit ea2cf0b691
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ def set_webname():
model.setOption('title', webname)
return mw.returnData(True, '面板别名保存成功!')
# 设置服务器IP
@blueprint.route('/set_ip', endpoint='set_ip', methods=['POST'])
def set_ip():
host_ip = request.form.get('host_ip', '')