mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:42:57 +08:00
8 lines
176 B
Ruby
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}"
|
|
}
|