备注信息收集 如果服务器没有static文件夹则自动建立一个
This commit is contained in:
parent
94d568041b
commit
3d21adf205
|
|
@ -6,6 +6,7 @@ app = Flask(__name__)
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
|
makedir("static")
|
||||||
return render_template('remarkindex.html')
|
return render_template('remarkindex.html')
|
||||||
|
|
||||||
@app.route('/show_image', methods=['POST'])
|
@app.route('/show_image', methods=['POST'])
|
||||||
|
|
|
||||||
Reference in New Issue