소스 검색

플라스크 내장 함수로 변경

Surplus_Up (2DU) 7 년 전
부모
커밋
3b2d47f266
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      func.py

+ 1 - 5
func.py

@@ -599,11 +599,7 @@ def leng_check(first, second):
     return all_plus
 
 def redirect(data):
-    return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ["Redirect", wiki_set(), custom(), other2([0, 0])],
-        data = '<meta http-equiv="refresh" content="0; url=' + data + '">',
-        menu = 0
-    ))
+    return flask.redirect(data)
 
 def re_error(data):
     if data == '/ban':