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

fix jquery link

This commit is contained in:
ericgaspar 2020-07-29 09:33:29 +02:00
parent 5c50fe172d
commit 4c9215793d

View file

@ -160,7 +160,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="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" --replace_string="jquery.min.js" --target_file="$final_path/static/index.html"
#=================================================
# UPGRADE HASTE BINARY