mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-14 17:38:29 +00:00
fix: use puts + add warning for inv-sig-helper deprecated
This commit is contained in:
parent
daac172712
commit
330208d5e7
@ -271,8 +271,10 @@ class Config
|
|||||||
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 or more."
|
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 or more."
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
elsif config.signature_server
|
||||||
|
puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/companion-installation/")
|
||||||
else
|
else
|
||||||
LOGGER.warn("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/companion-installation/")
|
puts("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/companion-installation/")
|
||||||
end
|
end
|
||||||
|
|
||||||
# HMAC_key is mandatory
|
# HMAC_key is mandatory
|
||||||
|
Loading…
Reference in New Issue
Block a user