Building Flask AutoIndex on different file root directories

前端 未结 0 1109
醉话见心
醉话见心 2021-02-03 20:58

is there way to define:

files_index = AutoIndex(app, os.path.curdir + \'/app/files\', add_url_rules=False)

@app.route(\'/files\')

@app.route(\'/files/path:p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题