mirror of
https://github.com/YunoHost-Apps/piped_ynh.git
synced 2024-09-03 20:05:54 +02:00
fff
This commit is contained in:
parent
9a25626903
commit
c8bf562a30
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ mv $install_dir/build/dist $install_dir
|
||||||
pushd $install_dir/dist
|
pushd $install_dir/dist
|
||||||
domainandpath="$domain$path"
|
domainandpath="$domain$path"
|
||||||
domainandpath=${domainandpath%%+(/)}
|
domainandpath=${domainandpath%%+(/)}
|
||||||
sed -i s/pipedapi.kavin.rocks/"$domain\/$path\/api"/g assets/*
|
domainpathapi="$domain$path/api"
|
||||||
|
sed -i s/pipedapi.kavin.rocks/"$domainandpath"/g assets/*
|
||||||
popd
|
popd
|
||||||
chown -R $app:www-data "$install_dir/dist"
|
chown -R $app:www-data "$install_dir/dist"
|
||||||
chmod -R 755 "$install_dir/dist"
|
chmod -R 755 "$install_dir/dist"
|
||||||
|
|
Loading…
Add table
Reference in a new issue