FIX: Do not block `uploads` path in robots.txt (#12349)

The `/u` rule also matches the `/uploads` path, which prevents Twitter from showing the site logo in its link previews.
This commit is contained in:
ByteHamster 2021-03-11 15:36:49 +01:00 committed by GitHub
parent 56262349a9
commit 36ec09a07b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class RobotsTxtController < ApplicationController
DISALLOWED_WITH_HEADER_PATHS ||= %w{
/badges
/u
/u/
/my
/search
/tag/*/l