mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 23:02:28 -04:00
fix: use puts + add warning for inv-sig-helper deprecated
This commit is contained in:
parent
daac172712
commit
330208d5e7
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue