From 2bee86d9f9aae4a73661024e8b627e7c74f77378 Mon Sep 17 00:00:00 2001 From: oiseauroch Date: Wed, 16 Nov 2022 20:00:11 +0100 Subject: [PATCH] fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)