a
This commit is contained in:
parent
f65aa23021
commit
0665ba2808
@ -407,7 +407,7 @@ def logs():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.route('/pdf/<path:filename>', methods=['GET', 'POST'])
|
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
||||||
def download(filename):
|
def download(filename):
|
||||||
return send_from_directory(directory='/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="/images/myw3schoolsimage.jpg" download></a>
|
<a href="/download/conofigs.json">download all config</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%endblock %}
|
{%endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user