Преглед на файлове

편집 후에도 custom_head에 있도록

Surplus_Up (2DU) преди 6 години
родител
ревизия
3aecf7639f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      route/user_custom_head_view.py

+ 1 - 1
route/user_custom_head_view.py

@@ -17,7 +17,7 @@ def user_custom_head_view_2(conn):
 
         flask.session['head'] = flask.request.form.get('content', None)
 
-        return redirect('/user')
+        return redirect('/custom_head')
     else:
         if ip_or_user(ip) == 0:
             start = ''