mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
added international amazon domains to matcher
This commit is contained in:
parent
003ac02a67
commit
dacd3409cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue