1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
This commit is contained in:
ericgaspar 2022-01-15 16:26:37 +01:00
parent 562948d023
commit 70dd1ada53
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 3 deletions

View file

@ -29,7 +29,7 @@ db:
## Accepted values: a postgres:// URI ## Accepted values: a postgres:// URI
## Default: postgres://kemal:kemal@localhost:5432/invidious ## Default: postgres://kemal:kemal@localhost:5432/invidious
## ##
#database_url: postgres://kemal:kemal@localhost:5432/invidious #database_url: postgres://__DB_NAME__:__DB_PWD__@localhost:5432/__DB_NAME__
## ##
## Enable automatic table integrity check. This will create ## Enable automatic table integrity check. This will create
@ -295,6 +295,8 @@ captcha_enabled: __CAPTCHA_ENABLED__
## ##
admins: ["__ADMIN__"] admins: ["__ADMIN__"]
## Email provided to users for bug reports
admin_email: __EMAIL__
# ----------------------------- # -----------------------------
# Background jobs # Background jobs
@ -695,7 +697,7 @@ default_user_preferences:
## Accepted values: dash, hd720, medium, small ## Accepted values: dash, hd720, medium, small
## Default: hd720 ## Default: hd720
## ##
quality: dash quality: hd720
## ##
## Default dash video quality. ## Default dash video quality.
@ -708,7 +710,7 @@ default_user_preferences:
## 720p, 480p, 360p, 240p, 144p, worst ## 720p, 480p, 360p, 240p, 144p, worst
## Default: auto ## Default: auto
## ##
quality_dash: auto #quality_dash: auto
## ##
## Default video playback speed. ## Default video playback speed.

View file

@ -28,6 +28,7 @@ path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
admin=$YNH_APP_ARG_ADMIN admin=$YNH_APP_ARG_ADMIN
email=$(ynh_user_get_info --username=$admin --key=mail)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -199,6 +200,8 @@ then
ynh_permission_update --permission="main" --add="visitors" ynh_permission_update --permission="main" --add="visitors"
fi fi
ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================