备注信息收集 如果服务器没有static文件夹则自动建立一个

This commit is contained in:
weiye.wang 2024-05-23 21:22:59 +08:00
parent 94d568041b
commit 3d21adf205
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ app = Flask(__name__)
@app.route('/')
def index():
makedir("static")
return render_template('remarkindex.html')
@app.route('/show_image', methods=['POST'])