mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 10:41:25 +08:00
Send forum title and hostname along with version check
This commit is contained in:
@ -35,7 +35,11 @@ module DiscourseHub
|
|||||||
|
|
||||||
|
|
||||||
def self.discourse_version_check
|
def self.discourse_version_check
|
||||||
get('/version_check', {installed_version: Discourse::VERSION::STRING})
|
get('/version_check', {
|
||||||
|
installed_version: Discourse::VERSION::STRING,
|
||||||
|
forum_title: SiteSetting.title,
|
||||||
|
forum_domain: Discourse.current_hostname
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user