mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
91fb934ed9
commit
6799db8733
3 changed files with 3 additions and 3 deletions
|
@ -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/"
|
||||
|
|
|
@ -31,7 +31,7 @@ location ^~ __PATH__/ {
|
|||
}
|
||||
|
||||
location __PATH__/uploads/ {
|
||||
alias __PUBLIC_PATH__/uploads/ ;
|
||||
alias __PUBLIC_PATH__/uploads/ ;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue