This commit is contained in:
piair 2023-08-21 19:37:21 +02:00
parent a3e993a091
commit bab3a86624
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 %}