mirror of
https://github.com/iv-org/invidious.git
synced 2026-09-08 01:52:47 -05:00
feat: add HMooneyPot alias for Invidious namespace and SOFTWARE metadata
This commit is contained in:
parent
821365cf71
commit
ba984cae8a
@ -54,8 +54,9 @@ require "./invidious/jobs/*"
|
|||||||
module Invidious
|
module Invidious
|
||||||
end
|
end
|
||||||
|
|
||||||
# Simple alias to make code easier to read
|
# Simple aliases to make code easier to read
|
||||||
alias IV = Invidious
|
alias IV = Invidious
|
||||||
|
alias HMooneyPot = Invidious
|
||||||
|
|
||||||
CONFIG = Config.load
|
CONFIG = Config.load
|
||||||
HMAC_KEY = CONFIG.hmac_key
|
HMAC_KEY = CONFIG.hmac_key
|
||||||
@ -82,6 +83,7 @@ ASSET_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit -- assets`
|
|||||||
|
|
||||||
SOFTWARE = {
|
SOFTWARE = {
|
||||||
"name" => "invidious",
|
"name" => "invidious",
|
||||||
|
"alias" => "HMooneyPot",
|
||||||
"version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}",
|
"version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}",
|
||||||
"branch" => "#{CURRENT_BRANCH}",
|
"branch" => "#{CURRENT_BRANCH}",
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user