瀏覽代碼

register home, blogs to app

weichen 4 年之前
父節點
當前提交
80c5a8a345
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      backstage/__init__.py

+ 4 - 0
backstage/__init__.py

@@ -9,8 +9,12 @@ def create_app():
 
     from backstage.collections.routes import collections_app
     from backstage.editor.routes import editor_app
+    from backstage.home.routes import home_app
+    from backstage.blogs.routes import blogs_app
 
     app.register_blueprint(collections_app)
     app.register_blueprint(editor_app)
+    app.register_blueprint(home_app)
+    app.register_blueprint(blogs_app)
 
     return app