mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
fix ?v to opt-out from index.html
This commit is contained in:
parent
d7887f3d55
commit
3d09bec1bb
|
@ -6229,6 +6229,7 @@ class HttpCli(object):
|
|||
|
||||
if "v" in self.uparam:
|
||||
add_og = True
|
||||
og_fn = ""
|
||||
|
||||
if "b" in self.uparam:
|
||||
self.out_headers["X-Robots-Tag"] = "noindex, nofollow"
|
||||
|
|
Loading…
Reference in a new issue