Refactor code structure for improved readability and maintainability

This commit is contained in:
Din
2025-08-08 12:26:54 +08:00
parent eceec1b72d
commit bb7c4c3d0e
11 changed files with 77 additions and 40 deletions
+3 -2
View File
@@ -23,6 +23,7 @@ Start-Sleep -Seconds 2
Copy-Item "install-service.ps1" $TEMP_PATH
Copy-Item "start-service.bat" $TEMP_PATH
Copy-Item "appsettings.json" $TEMP_PATH
Copy-Item "appsettings.Production.json" $TEMP_PATH -ErrorAction SilentlyContinue
Copy-Item "README.md" $TEMP_PATH -ErrorAction SilentlyContinue
# Create deployment readme
@@ -35,8 +36,8 @@ Copy-Item "README.md" $TEMP_PATH -ErrorAction SilentlyContinue
3. Execute: .\install-service.ps1
## Access
- Web Dashboard: http://localhost:5000
- API Health: http://localhost:5000/api/health
- Web Dashboard: http://localhost:24142
- API Health: http://localhost:24142/api/health
Generated: $(Get-Date)
"@ | Out-File "$TEMP_PATH\DEPLOYMENT.txt" -Encoding UTF8