点击任何文件的下载都会报错,
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.4.0系统版本:centos8
问题描述:点击任何文件的下载都会报错,
相关截图(日志出错了,面板运行时发生错误!TypeError: send_file() got an unexpected keyword argument 'etag'
REQUEST_DATE: 2025-01-14 10:28:14VERSION: CentOS8.1.1911 x86_64(Py3.7.9) - 9.4.0 REMOTE_ADDR: 49.88.33.196 REQUEST_URI: GET /download?filename=%2Fwww%2Fwwwroot%2Furl.jsREQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0Traceback (most recent call last):File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request()File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions(**req.view_args)File "/www/server/panel/BTPanel/__init__.py", line 1519, in download max_age=0) TypeError: send_file() got an unexpected keyword argument 'etag'、错误):
页:
[1]