2 次代码提交 f0613e34e1 ... bc45d95711

作者 SHA1 备注 提交日期
  weichen bc45d95711 add bhouse_server into config, then change src=localhost to bhouse_server 3 年之前
  weichen f0613e34e1 add bhouse_server into config, then change src=localhost to bhouse_server 3 年之前
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      backstage/editor/routes.py

+ 2 - 2
backstage/editor/routes.py

@@ -6,5 +6,5 @@ editor_app = Blueprint('editor', __name__)
 
 @editor_app.route('/backstage/editor')
 def editor():
-    url = request.args.get('url', type=str, bhouse_server=BHOUSE_SERVER)
-    return render_template('editor.html', title='Type Editor', url=url)
+    url = request.args.get('url', type=str)
+    return render_template('editor.html', title='Type Editor', url=url, bhouse_server=BHOUSE_SERVER)