1
0
Fork 0

fix(api): adjust output path for module structure

This commit is contained in:
Sean Sube 2023-01-06 17:11:02 -06:00
parent b59519cb7e
commit c6662d155d
1 changed files with 1 additions and 1 deletions

View File

@ -231,4 +231,4 @@ def txt2img():
@app.route('/output/<path:filename>')
def output(filename):
return send_from_directory(output_path, filename, as_attachment=False)
return send_from_directory(path.join('..', output_path), filename, as_attachment=False)