mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 22:34:04 +08:00
17 lines
297 B
Ruby
17 lines
297 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require_relative './opengraph_image'
|
||
|
|
||
|
module Onebox
|
||
|
module Engine
|
||
|
class FlickrShortenedOnebox
|
||
|
include Engine
|
||
|
include StandardEmbed
|
||
|
include OpengraphImage
|
||
|
|
||
|
matches_regexp(/^https?:\/\/flic\.kr\/p\//)
|
||
|
always_https
|
||
|
end
|
||
|
end
|
||
|
end
|