fix ?v to opt-out from index.html

This commit is contained in:
ed 2025-09-13 20:53:12 +00:00
parent d7887f3d55
commit 3d09bec1bb

View file

@ -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"