mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Fix
This commit is contained in:
@@ -81,7 +81,9 @@ export const handler: Handlers = {
|
||||
if (m.cfg.use_path_based_img_url) {
|
||||
const ext = extname(f.path);
|
||||
return Response.redirect(
|
||||
`${get_host(req)}/file/${tverify}/${f.id}${ext}`,
|
||||
`${get_host(req)}/file/${
|
||||
encodeURIComponent(tverify)
|
||||
}/${f.id}${ext}`,
|
||||
);
|
||||
}
|
||||
const b = new URLSearchParams();
|
||||
|
||||
Reference in New Issue
Block a user