test
This commit is contained in:
parent
a3e993a091
commit
bab3a86624
|
@ -409,7 +409,7 @@ def logs():
|
||||||
|
|
||||||
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
||||||
def download(filename):
|
def download(filename):
|
||||||
return send_from_directory(path='/user_data', filename=filename)
|
return send_from_directory(directory='/user_data', filename=filename)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<tr><td>logs viewer</td></tr>
|
<tr><td>logs viewer</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<a href="/download/conofigs.json">download all config</a>
|
<a href="/download/configs.json">download all config</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%endblock %}
|
{%endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue