SigHelper: Make signature server optional and configurable

This commit is contained in:
Samantaz Fox
2024-08-07 23:12:27 +02:00
parent ec1bb5db87
commit 7798faf234
6 changed files with 39 additions and 27 deletions

View File

@@ -153,6 +153,15 @@ Invidious::Database.check_integrity(CONFIG)
{% puts "\nDone checking player dependencies, now compiling Invidious...\n" %}
{% end %}
# Misc
DECRYPT_FUNCTION =
if sig_helper_address = CONFIG.signature_server.presence
IV::DecryptFunction.new(sig_helper_address)
else
nil
end
# Start jobs
if CONFIG.channel_threads > 0