diff --git a/conf/config.yml b/conf/config.yml index ac09f88..8ebf257 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -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. diff --git a/scripts/install b/scripts/install index 584a8e3..14d6952 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #=================================================