mirror of
https://github.com/Kakune55/ComiPy.git
synced 2025-09-16 04:09:41 +08:00
feat:添加评论上传功能 未完全完成
This commit is contained in:
2
main.py
2
main.py
@@ -6,6 +6,7 @@ from flask import *
|
||||
from web.api_Img import api_Img_bp
|
||||
from web.page import page_bp
|
||||
from web.admin_page import admin_page_bp
|
||||
from web.api_comment import comment_api_bp
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@@ -20,6 +21,7 @@ def appinit():
|
||||
app.register_blueprint(api_Img_bp)
|
||||
app.register_blueprint(page_bp)
|
||||
app.register_blueprint(admin_page_bp)
|
||||
app.register_blueprint(comment_api_bp)
|
||||
|
||||
if __name__ == "__main__":
|
||||
appinit()
|
||||
|
Reference in New Issue
Block a user