提交 c314fb2c 编写于 作者: H hjdhnx

更新api

上级 9c24953b
......@@ -137,6 +137,12 @@ def custom_static_libs(filename):
# print(filename)
return send_from_directory('libs', filename)
@home.route('/js/<path:filename>')
def custom_static_js(filename):
# 自定义静态目录 {{ url_for('custom_static',filename='help.txt')}}
# print(filename)
return send_from_directory('js', filename)
# @home.route('/txt/<name>')
# def get_txt_files(name):
# base_path = 'txt'
......
3.9.36beta1
\ No newline at end of file
3.9.36beta2
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册