summaryrefslogtreecommitdiffstats
path: root/assets/js/videojs-youtube-annotations.min.js
diff options
context:
space:
mode:
authorsaltycrys <73420320+saltycrys@users.noreply.github.com>2021-01-23 18:58:13 +0100
committersaltycrys <73420320+saltycrys@users.noreply.github.com>2021-01-23 18:58:13 +0100
commitf1a7ee997b5f6bc52388473dcd1b8043c5ceacff (patch)
treef86f00d1501b3d8c94ac28095443bf48a476bbdc /assets/js/videojs-youtube-annotations.min.js
parentdd2a7f91cc6c84542ede7daf474733a281c57dfb (diff)
downloadinvidious-f1a7ee997b5f6bc52388473dcd1b8043c5ceacff.tar.gz
invidious-f1a7ee997b5f6bc52388473dcd1b8043c5ceacff.tar.bz2
invidious-f1a7ee997b5f6bc52388473dcd1b8043c5ceacff.zip
Add config environment variables
The config file can now be specified with `INVIDIOUS_CONFIG_FILE`. A YAML formatted string can still be passed with `INVIDIOUS_CONFIG`, replacing the config file. Additionally all options can now be specified as environment variables. The syntax for variable names is `INVIDIOUS_` followed by the option name in upper case. The values are parsed as YAML. These new env vars only update the provided main configuration, but it is possible to point the config file at the example config and then use env vars for all config options: ``` INVIDIOUS_CONFIG_FILE=./config/config.example.yml \ INVIDIOUS_CHANNEL_THREADS=10 \ ./invidious ```
Diffstat (limited to 'assets/js/videojs-youtube-annotations.min.js')
0 files changed, 0 insertions, 0 deletions