mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-30 08:28:32 +00:00
Formatting
This commit is contained in:
parent
b4bfee394b
commit
289a35fb73
@ -57,9 +57,9 @@ end
|
|||||||
# Simple alias to make code easier to read
|
# Simple alias to make code easier to read
|
||||||
alias IV = Invidious
|
alias IV = Invidious
|
||||||
|
|
||||||
CONFIG = Config.load
|
CONFIG = Config.load
|
||||||
HMAC_KEY_CONFIGURED = CONFIG.hmac_key != nil
|
HMAC_KEY_CONFIGURED = CONFIG.hmac_key != nil
|
||||||
HMAC_KEY = CONFIG.hmac_key || Random::Secure.hex(32)
|
HMAC_KEY = CONFIG.hmac_key || Random::Secure.hex(32)
|
||||||
|
|
||||||
PG_DB = DB.open CONFIG.database_url
|
PG_DB = DB.open CONFIG.database_url
|
||||||
ARCHIVE_URL = URI.parse("https://archive.org")
|
ARCHIVE_URL = URI.parse("https://archive.org")
|
||||||
|
Loading…
Reference in New Issue
Block a user