lib/onebox/engine/twitch_stream_onebox.rb in onebox-1.8.20 vs lib/onebox/engine/twitch_stream_onebox.rb in onebox-1.8.21

- old
+ new

@@ -1,10 +1,10 @@ require_relative '../mixins/twitch_onebox' class Onebox::Engine::TwitchStreamOnebox def self.twitch_regexp - /^https?:\/\/(?:www\.)?twitch\.tv\/(?!directory)([a-zA-Z0-9_]{4,25})$/ + /^https?:\/\/(?:www\.|go\.)?twitch\.tv\/(?!directory)([a-zA-Z0-9_]{4,25})$/ end include Onebox::Mixins::TwitchOnebox def query_params "channel=#{twitch_id}"