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