mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
opds compatibility: fix absolute path resolution
This commit is contained in:
parent
9b55641d2d
commit
6b60ac83a1
|
|
@ -7196,7 +7196,9 @@ class HttpCli(object):
|
|||
base = ""
|
||||
href = fn
|
||||
if use_abs_url:
|
||||
base = "/" + vpath + "/"
|
||||
base = self.args.SRS
|
||||
if vpath:
|
||||
base += vpath + "/"
|
||||
href = base + fn
|
||||
|
||||
if fn in vfs_virt:
|
||||
|
|
|
|||
Loading…
Reference in a new issue