1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00
This commit is contained in:
orhtej2 2024-01-28 00:14:52 +01:00
parent 9a25626903
commit c8bf562a30

View file

@ -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"