From c5bab54d30bb4bde2b4b598a0bb4ac333c3fc9ca Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Tue, 30 May 2023 00:40:02 +0700 Subject: [PATCH] memperbaiki skrip perubahan URL --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 3977f24..eebb05d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -50,7 +50,7 @@ then new_next_path=$new_path fi - ynh_replace_string --match_string="module.exports = { basePath: '$old_path', };" --replace_string="module.exports = { basePath: '$new_path', };" --target_file="$install_dir/next.config.js" + ynh_replace_string --match_string="module.exports = { basePath: '$old_next_path', };" --replace_string="module.exports = { basePath: '$new_next_path', };" --target_file="$install_dir/next.config.js" fi #=================================================