mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 13:12:26 -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 = ""
|
base = ""
|
||||||
href = fn
|
href = fn
|
||||||
if use_abs_url:
|
if use_abs_url:
|
||||||
base = "/" + vpath + "/"
|
base = self.args.SRS
|
||||||
|
if vpath:
|
||||||
|
base += vpath + "/"
|
||||||
href = base + fn
|
href = base + fn
|
||||||
|
|
||||||
if fn in vfs_virt:
|
if fn in vfs_virt:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue