mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 17:02:35 +08:00
Previously, we couldn't change the user agent name dynamically for onebox requests. In this commit, a new hidden site setting `onebox_user_agent` is created to override the default user agent value specified in the [initializer](
|
||
|---|---|---|
| .. | ||
| engine | ||
| domain_checker_spec.rb | ||
| engine_spec.rb | ||
| helpers_spec.rb | ||
| json_ld_spec.rb | ||
| layout_spec.rb | ||
| matcher_spec.rb | ||
| movie_spec.rb | ||
| oembed_spec.rb | ||
| open_graph_spec.rb | ||
| preview_spec.rb | ||
| status_check_spec.rb | ||