Skip to content

Commit

Permalink
Update proxy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 18, 2024
1 parent 50ec1c5 commit b1826a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/admin/site/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def get_proxy_conf():
return MwSites.instance().getProxyConf(site_name, rid)

# 设置代理
@blueprint.route('/get_proxy_conf', endpoint='get_proxy_conf', methods=['POST'])
@blueprint.route('/save_proxy_conf', endpoint='save_proxy_conf', methods=['POST'])
@panel_login_required
def get_proxy_conf():
def save_proxy_conf():
site_name = request.form.get("siteName", '')
rid = request.form.get("id", '')
config = request.form.get("config", "")
Expand Down

0 comments on commit b1826a6

Please sign in to comment.