소스 검색

fix bug 2

2du 5 년 전
부모
커밋
61e7fc4c91
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      route/tool/func.py

+ 1 - 1
route/tool/func.py

@@ -1236,7 +1236,7 @@ def edit_filter_do(data):
     return 0
 
 def redirect(data = '/'):
-    return flask.redirect(flask.request.host_url + data)
+    return flask.redirect(flask.request.host_url[:-1] + data)
     
 def get_acl_list(type_d = 'normal'):
     if type_d == 'user':