|
|
@@ -799,8 +799,8 @@ app.route('/api/xref_this/<int:page>/<everything:name>', defaults = { 'xref_type
|
|
|
app.route('/api/random')(api_w_random)
|
|
|
|
|
|
app.route('/api/bbs/w/<sub_code>')(api_bbs_w)
|
|
|
-app.route('/api/bbs/w/comment/<sub_code>')(api_bbs_w_comment)
|
|
|
-app.route('/api/bbs/w/comment_one/<sub_code>')(api_bbs_w_comment_one)
|
|
|
+app.route('/api/bbs/w/comment/<sub_code>')(api_bbs_w_comment_exter)
|
|
|
+app.route('/api/bbs/w/comment_one/<sub_code>')(api_bbs_w_comment_one_exter)
|
|
|
|
|
|
app.route('/api/version', defaults = { 'version_list' : version_list })(api_version)
|
|
|
app.route('/api/skin_info')(api_skin_info)
|
|
|
@@ -859,8 +859,8 @@ app.route('/api/v2/bbs/set/<int:bbs_num>/<name>', methods = ['GET', 'PUT'])(api_
|
|
|
app.route('/api/v2/bbs/in/<int:bbs_num>/<int:page>')(api_bbs)
|
|
|
app.route('/api/v2/bbs/w/<sub_code>', defaults = { 'legacy' : '' })(api_bbs_w)
|
|
|
app.route('/api/v2/bbs/w/tabom/<sub_code>', methods = ['GET', 'POST'])(api_bbs_w_tabom)
|
|
|
-app.route('/api/v2/bbs/w/comment/<sub_code>/<tool>', defaults = { 'legacy' : '' })(api_bbs_w_comment)
|
|
|
-app.route('/api/v2/bbs/w/comment_one/<sub_code>/<tool>', defaults = { 'legacy' : '' })(api_bbs_w_comment_one)
|
|
|
+app.route('/api/v2/bbs/w/comment/<sub_code>/<tool>', defaults = { 'legacy' : '' })(api_bbs_w_comment_exter)
|
|
|
+app.route('/api/v2/bbs/w/comment_one/<sub_code>/<tool>', defaults = { 'legacy' : '' })(api_bbs_w_comment_one_exter)
|
|
|
|
|
|
app.route('/api/v2/doc_star_doc/<int:num>/<everything:name>', defaults = { 'do_type' : 'star_doc' })(api_w_watch_list)
|
|
|
app.route('/api/v2/doc_watch_list/<int:num>/<everything:name>')(api_w_watch_list)
|