added international amazon domains to matcher

This commit is contained in:
YOU 2013-12-11 16:05:15 +09:00
parent 003ac02a67
commit dacd3409cb
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ require_dependency 'oneboxer/handlebars_onebox'
module Oneboxer module Oneboxer
class AmazonOnebox < HandlebarsOnebox class AmazonOnebox < HandlebarsOnebox
matcher /^https?:\/\/(?:www\.)?amazon.(com|ca)\/.*$/ matcher /^https?:\/\/(?:www\.)?amazon.(com\.au|com|br|mx|ca|at|cn|fr|de|it|es|in|co\.jp|co\.uk)\/.*$/
favicon 'amazon.png' favicon 'amazon.png'
def template def template