mirror of
https://github.com/9001/copyparty.git
synced 2026-02-21 18:01:40 +10:00
@@ -6490,7 +6490,7 @@ class HttpCli(object):
|
|||||||
zs = "%s/" % (self.vpath,)
|
zs = "%s/" % (self.vpath,)
|
||||||
vols = [(x[len(zs) :], y) for x, y in vols if x.startswith(zs)]
|
vols = [(x[len(zs) :], y) for x, y in vols if x.startswith(zs)]
|
||||||
vols = [(x.split("/", 1)[0], y) for x, y in vols]
|
vols = [(x.split("/", 1)[0], y) for x, y in vols]
|
||||||
vols = [x for x in vols if x[0]]
|
vols = list(({x: y for x, y in vols if x}).items())
|
||||||
if not vols and self.vpath:
|
if not vols and self.vpath:
|
||||||
return self.tx_404(True)
|
return self.tx_404(True)
|
||||||
dirs = [
|
dirs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user