1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00

Fix path to index.html

This commit is contained in:
ericgaspar 2020-07-29 09:23:27 +02:00
parent b7e586a73b
commit 4bdac1101c

View file

@ -138,7 +138,8 @@ ynh_store_file_checksum "$final_path/config.js"
# Replace ajax.googleapis by local file
cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"
ynh_replace_string --match_string="jquery.min.js" --replace_string="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" --target_file="$final_path/static/jquery.min.js"
ynh_replace_string --match_string="jquery.min.js" --replace_string="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" --target_file="$final_path/static/index.html"
#=================================================
# ADD HASTE AS A BINARY FILE