2 Commits f0613e34e1 ... bc45d95711

Author SHA1 Message Date
  weichen bc45d95711 add bhouse_server into config, then change src=localhost to bhouse_server 3 years ago
  weichen f0613e34e1 add bhouse_server into config, then change src=localhost to bhouse_server 3 years ago
1 changed files with 2 additions and 2 deletions
  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')
 @editor_app.route('/backstage/editor')
 def 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)