This commit is contained in:
yumoqing 2024-12-20 17:06:55 +08:00
parent 6eed0f2f18
commit 9b6872bdd9

View File

@ -60,7 +60,8 @@ async def path_download(request, kw, *params):
fp = fs.realPath(path)
return await file_download(request, fp)
rf = RegisterFunction('download_path', path_download)
rf = RegisterFunction()
rf.register('download_path', path_download)