diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index d0cff89c..00083961 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -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: