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:
Mateusz 2024-08-09 10:09:34 +02:00 committed by GitHub
commit c463fcb873
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ popd
mv $install_dir/build/dist $install_dir
pushd $install_dir/dist
sed -i s/pipedapi.kavin.rocks/"$domain\\/api"/g assets/*
ynh_replace_string --match_string="pipedapi\.kavin\.rocks" --replace_string="$domain\\/api" --target_file="assets/*"
popd
chown -R $app:www-data "$install_dir/dist"
chmod -R 755 "$install_dir/dist"

View file

@ -71,7 +71,7 @@ then
ynh_secure_remove --file="$install_dir/dist"
mv $install_dir/build/dist $install_dir
pushd $install_dir/dist
sed -i s/pipedapi.kavin.rocks/"$domain\\/api"/g assets/*
ynh_replace_string --match_string="pipedapi\.kavin\.rocks" --replace_string="$domain\\/api" --target_file="assets/*"
popd
chown -R $app:www-data "$install_dir/dist"
chmod -R 755 "$install_dir/dist"