mirror of
https://github.com/9001/copyparty.git
synced 2025-11-05 22:33:16 +00:00
fix ?v to opt-out from index.html
This commit is contained in:
@@ -6229,6 +6229,7 @@ class HttpCli(object):
|
|||||||
|
|
||||||
if "v" in self.uparam:
|
if "v" in self.uparam:
|
||||||
add_og = True
|
add_og = True
|
||||||
|
og_fn = ""
|
||||||
|
|
||||||
if "b" in self.uparam:
|
if "b" in self.uparam:
|
||||||
self.out_headers["X-Robots-Tag"] = "noindex, nofollow"
|
self.out_headers["X-Robots-Tag"] = "noindex, nofollow"
|
||||||
|
|||||||
Reference in New Issue
Block a user