discourse/config/initializers/100-onebox_options.rb
2017-05-24 14:36:02 -04:00

8 lines
176 B
Ruby

require_dependency 'twitter_api'
Onebox.options = {
twitter_client: TwitterApi,
redirect_limit: 1,
user_agent: "Discourse Forum Onebox v#{Discourse::VERSION::STRING}"
}