diff --git a/scripts/install b/scripts/install index eb033a3..6ee7955 100644 --- a/scripts/install +++ b/scripts/install @@ -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)