1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/petrolette_ynh.git synced 2024-09-03 19:56:26 +02:00
This commit is contained in:
oiseauroch 2022-11-16 20:00:11 +01:00
parent 4c82884704
commit 2bee86d9f9

View file

@ -112,7 +112,7 @@ pushd $final_path
ynh_add_config --template="petrolette.config.json" --destination="petrolette.config.json"
fi
if [ "$path_url" != "/" ] ; then
sed -i "s|\$.get(\"/feed\", {|\$.get(\"$final_path/feed\", {|" public/js/PTL.feed.js
sed -i "s|\$.get(\"/feed\", {|\$.get(\"$path_url/feed\", {|" public/js/PTL.feed.js
fi
[[ -v HOME ]] && TMP_HOME=$HOME
HOME=$(pwd)