mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
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:
parent
56262349a9
commit
36ec09a07b
@ -20,7 +20,7 @@ class RobotsTxtController < ApplicationController
|
||||
|
||||
DISALLOWED_WITH_HEADER_PATHS ||= %w{
|
||||
/badges
|
||||
/u
|
||||
/u/
|
||||
/my
|
||||
/search
|
||||
/tag/*/l
|
||||
|
Loading…
Reference in New Issue
Block a user