1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
This commit is contained in:
ericgaspar 2020-12-11 21:48:12 +01:00
parent 91fb934ed9
commit 6799db8733
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ TIMEZONE=UTC
# folders in which the files will be stored
LYCHEE_DIST="__FINALPATH__/public/dist/"
LYCHEE_UPLOADS="/home/yunohost.app/__APP__/uploads/"
LYCHEE_UPLOADS="__PUBLICPATH__/uploads/"
# url to access those files
# LYCHEE_DIST_URL="dist/"

View file

@ -31,7 +31,7 @@ location ^~ __PATH__/ {
}
location __PATH__/uploads/ {
alias __PUBLIC_PATH__/uploads/ ;
alias __PUBLIC_PATH__/uploads/ ;
}
# Include SSOWAT user panel.

View file

@ -120,8 +120,8 @@ cp ../conf/.env.example $final_path/.env
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/.env"
ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/.env"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/.env"
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$final_path/.env"
ynh_replace_string --match_string="__PUBLICPATH__" --replace_string="$public_path" --target_file="$final_path/.env"
# Setup application config
pushd "$final_path"