bugfix: privatebin directorybot should be disallowed unless pb_public_directory is set to true

This commit is contained in:
brooke 2025-02-24 14:20:21 -05:00
parent 386611540c
commit f529804276

View File

@ -2,7 +2,7 @@ User-agent: *
Disallow: /
{{ if eq (env "PB_PUBLIC_DIRECTORY") "true" }}
{{ else }}
User-agent: PrivateBinDirectoryBot
Disallow: /
{{ else }}
{{ end }}
{{ end }}