From f5ca33859cf3064d41c8cd212771e8b93747ac2f Mon Sep 17 00:00:00 2001 From: lexluo09 <39718951+lexluo09@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:58:54 +0800 Subject: [PATCH] (improvement)(chat) remove setEnvToWeb in moveAllToRuntime (#218) --- assembly/bin/supersonic-build.sh | 2 ++ assembly/bin/supersonic-common.sh | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/assembly/bin/supersonic-build.sh b/assembly/bin/supersonic-build.sh index 550ed7cab..b08e7da14 100755 --- a/assembly/bin/supersonic-build.sh +++ b/assembly/bin/supersonic-build.sh @@ -41,5 +41,7 @@ echo "install python modules success" #6. reset runtime rm -fr $runtimeDir/* moveAllToRuntime +setEnvToWeb chat +setEnvToWeb semantic rm -fr ${buildDir}/webapp diff --git a/assembly/bin/supersonic-common.sh b/assembly/bin/supersonic-common.sh index b27b48eeb..9f71d7873 100755 --- a/assembly/bin/supersonic-common.sh +++ b/assembly/bin/supersonic-common.sh @@ -41,9 +41,6 @@ function moveAllToRuntime { moveToRuntime chat moveToRuntime semantic moveToRuntime standalone - - setEnvToWeb chat - setEnvToWeb semantic } # run java service