]> jfr.im git - erebus.git/commitdiff
urls - blacklist my gitweb, lol
authorJohn Runyon <redacted>
Wed, 4 Oct 2023 07:23:23 +0000 (01:23 -0600)
committerJohn Runyon <redacted>
Wed, 4 Oct 2023 07:26:22 +0000 (01:26 -0600)
modules/urls.py

index 4067077b778c49c6e95d22890dac7143152316af..859f9acb642dd521d0025c311b9f53f3bdca734c 100644 (file)
@@ -322,6 +322,7 @@ url_regex = (
 other_regexes = (
        (lambda x: '', (re.compile(r"""https?://(?:www\.)?(?:twitter|x)\.com/""", re.I),)), # skip twitter
        (lambda x: '', (re.compile(r"""https?://(?:www\.)?reddit\.com/""", re.I),)), # skip new-reddit
+       (lambda x: '', (re.compile(r"""https?://jfr\.im/git/""", re.I),)), # skip my gitweb
 )
 regexes = other_regexes + (
        (goturl, url_regex),