mirror of https://github.com/iv-org/invidious.git
parent
7425700009
commit
732bd28c92
|
@ -92,6 +92,7 @@ PUBSUB_URL = URI.parse("https://pubsubhubbub.appspot.com")
|
||||||
TEXTCAPTCHA_URL = URI.parse("http://textcaptcha.com/omarroth@hotmail.com.json")
|
TEXTCAPTCHA_URL = URI.parse("http://textcaptcha.com/omarroth@hotmail.com.json")
|
||||||
CURRENT_COMMIT = `git rev-list HEAD --max-count=1 --abbrev-commit`.strip
|
CURRENT_COMMIT = `git rev-list HEAD --max-count=1 --abbrev-commit`.strip
|
||||||
CURRENT_VERSION = `git describe --tags $(git rev-list --tags --max-count=1)`.strip
|
CURRENT_VERSION = `git describe --tags $(git rev-list --tags --max-count=1)`.strip
|
||||||
|
CURRENT_BRANCH = `git status | head -1`.strip
|
||||||
|
|
||||||
LOCALES = {
|
LOCALES = {
|
||||||
"ar" => load_locale("ar"),
|
"ar" => load_locale("ar"),
|
||||||
|
@ -135,6 +136,7 @@ if config.statistics_enabled
|
||||||
"software" => {
|
"software" => {
|
||||||
"name" => "invidious",
|
"name" => "invidious",
|
||||||
"version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}",
|
"version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}",
|
||||||
|
"branch" => "#{CURRENT_BRANCH}",
|
||||||
},
|
},
|
||||||
"openRegistrations" => config.registration_enabled,
|
"openRegistrations" => config.registration_enabled,
|
||||||
"usage" => {
|
"usage" => {
|
||||||
|
|
Loading…
Reference in New Issue