mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Fix
This commit is contained in:
parent
562948d023
commit
70dd1ada53
2 changed files with 8 additions and 3 deletions
|
@ -29,7 +29,7 @@ db:
|
|||
## Accepted values: a postgres:// URI
|
||||
## 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
|
||||
|
@ -295,6 +295,8 @@ captcha_enabled: __CAPTCHA_ENABLED__
|
|||
##
|
||||
admins: ["__ADMIN__"]
|
||||
|
||||
## Email provided to users for bug reports
|
||||
admin_email: __EMAIL__
|
||||
|
||||
# -----------------------------
|
||||
# Background jobs
|
||||
|
@ -695,7 +697,7 @@ default_user_preferences:
|
|||
## Accepted values: dash, hd720, medium, small
|
||||
## Default: hd720
|
||||
##
|
||||
quality: dash
|
||||
quality: hd720
|
||||
|
||||
##
|
||||
## Default dash video quality.
|
||||
|
@ -708,7 +710,7 @@ default_user_preferences:
|
|||
## 720p, 480p, 360p, 240p, 144p, worst
|
||||
## Default: auto
|
||||
##
|
||||
quality_dash: auto
|
||||
#quality_dash: auto
|
||||
|
||||
##
|
||||
## Default video playback speed.
|
||||
|
|
|
@ -28,6 +28,7 @@ path_url="/"
|
|||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
language=$YNH_APP_ARG_LANGUAGE
|
||||
admin=$YNH_APP_ARG_ADMIN
|
||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
|
@ -199,6 +200,8 @@ then
|
|||
ynh_permission_update --permission="main" --add="visitors"
|
||||
fi
|
||||
|
||||
ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue