mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fix the Amazon links regex
This commit is contained in:
parent
e77e7f23ca
commit
f14c71b9d4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Jobs
|
|||
def self.max_chunk_size(uri)
|
||||
# Amazon leaves the title until very late. Normally it's a bad idea to make an exception for
|
||||
# one host but amazon is a big one.
|
||||
return 80 if uri.host =~ /amazon\.(com|ca|co.uk|es|fr|de|it|com.au|com.br|cn|in|co.jp|com.mx)$/
|
||||
return 80 if uri.host =~ /amazon\.(com|ca|co\.uk|es|fr|de|it|com\.au|com\.br|cn|in|co\.jp|com\.mx)$/
|
||||
|
||||
# Default is 10k
|
||||
10
|
||||
|
|
Loading…
Reference in a new issue