diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-01-23 14:37:04 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-01-23 14:37:04 -0600 |
| commit | 7a6a0f364c0b9614ec14b8663c9812759a561446 (patch) | |
| tree | d0c3fc528de55a1f1346dd53677ab658b2e1b0fa /src | |
| parent | e1540390a8d7bb2a2f1dd71348e8446838ed770c (diff) | |
| download | invidious-7a6a0f364c0b9614ec14b8663c9812759a561446.tar.gz invidious-7a6a0f364c0b9614ec14b8663c9812759a561446.tar.bz2 invidious-7a6a0f364c0b9614ec14b8663c9812759a561446.zip | |
Run 'crystal tool format'
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/helpers/helpers.cr | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.cr index d622a07f..91a80203 100644 --- a/src/invidious/helpers/helpers.cr +++ b/src/invidious/helpers/helpers.cr @@ -5,17 +5,17 @@ class Config feed_threads: Int32, # Number of threads to use for updating feeds video_threads: Int32, # Number of threads to use for updating videos in cache (mostly non-functional) db: NamedTuple( # Database configuration - user: String, - password: String, - host: String, - port: Int32, - dbname: String, - ), - dl_api_key: String?, # DetectLanguage API Key (used to filter non-English results from "top" page), mostly non-functional - https_only: Bool?, # Used to tell Invidious it is behind a proxy, so links to resources should be https:// - hmac_key: String?, # HMAC signing key for CSRF tokens - full_refresh: Bool, # Used for crawling channels: threads should check all videos uploaded by a channel - domain: String, # Domain to be used for links to resources on the site where an absolute URL is required +user: String, + password: String, + host: String, + port: Int32, + dbname: String, + ), + dl_api_key: String?, # DetectLanguage API Key (used to filter non-English results from "top" page), mostly non-functional + https_only: Bool?, # Used to tell Invidious it is behind a proxy, so links to resources should be https:// + hmac_key: String?, # HMAC signing key for CSRF tokens + full_refresh: Bool, # Used for crawling channels: threads should check all videos uploaded by a channel + domain: String, # Domain to be used for links to resources on the site where an absolute URL is required }) end |
