瀏覽代碼

https://github.com/openNAMU/openNAMU/issues/2058

잉여개발기 (SPDV) 2 年之前
父節點
當前提交
d007f0c8cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -721,7 +721,7 @@ app.route('/search/<int:num>/<everything:name>', methods = ['POST', 'GET'])(main
 app.route('/search_data/<everything:name>', defaults = { 'search_type' : 'data' }, methods = ['POST', 'GET'])(main_search_deep)
 app.route('/search_data/<int:num>/<everything:name>', defaults = { 'search_type' : 'data' }, methods = ['POST', 'GET'])(main_search_deep)
 app.route('/goto', methods=['POST'])(main_search_goto)
-app.route('/goto/<everything:name>', methods=['POST'])(main_search_goto)
+app.route('/goto/<everything:name>', methods=['GET', 'POST'])(main_search_goto)
 
 app.route('/setting')(main_setting)
 app.route('/setting/main', defaults = { 'db_set' : data_db_set['type'] }, methods = ['POST', 'GET'])(main_setting_main)