diff --git a/matsen-tool/2deployMatsenFE.sh b/matsen-tool/2deployMatsenFE.sh index b8d032e..ccce795 100644 --- a/matsen-tool/2deployMatsenFE.sh +++ b/matsen-tool/2deployMatsenFE.sh @@ -1,6 +1,6 @@ #!/bin/bash -TARGET_PATH="/var/www/crm/matsen-tool" +TARGET_PATH="/var/www/crm" GIT_PATH="/var/www/matsen-git-repository/matsen-tool-fe/matsen-tool" create_directories() { @@ -31,6 +31,6 @@ copy_files npm install npx ng build --configuration production -cp -r ${TARGET_PATH}/angular/dist/* ${TARGET_PATH}/browser +cp -r ${TARGET_PATH}/angular/dist/* ${TARGET_PATH} echo "You have updated matsen client!$(tput sgr 0)" \ No newline at end of file diff --git a/matsen-tool/angular.json b/matsen-tool/angular.json index 168788b..d9bee7a 100644 --- a/matsen-tool/angular.json +++ b/matsen-tool/angular.json @@ -69,7 +69,7 @@ "fileReplacements": [ { "replace": "src/environments/environment.ts", - "with": "src/environments/environment.development.ts" + "with": "src/environments/environment.prod.ts" } ] },