discourse/config/initializers/100-onebox_options.rb

8 lines
176 B
Ruby
Raw Normal View History

2014-01-28 15:51:29 -05:00
require_dependency 'twitter_api'
Onebox.options = {
twitter_client: TwitterApi,
redirect_limit: 3,
2017-05-24 14:21:18 -04:00
user_agent: "Discourse Forum Onebox v#{Discourse::VERSION::STRING}"
}