From 7bf37ba51048f935d502d89022b691f27f0637fc Mon Sep 17 00:00:00 2001 From: Myx Date: Thu, 12 Mar 2026 14:32:48 +0100 Subject: [PATCH] Website v3 --- src/app/core/services/server-directory.service.ts | 2 +- src/environments/environment.prod.ts | 2 +- tools/deploy-web-apps.ps1 | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/core/services/server-directory.service.ts b/src/app/core/services/server-directory.service.ts index f53910f..db32508 100644 --- a/src/app/core/services/server-directory.service.ts +++ b/src/app/core/services/server-directory.service.ts @@ -92,7 +92,7 @@ function buildDefaultServerUrl(): string { /** Blueprint for the built-in default endpoint. */ const DEFAULT_ENDPOINT: Omit = { - name: 'Local Server', + name: 'Default Server', url: buildDefaultServerUrl(), isActive: true, isDefault: true, diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index b636483..a95d37e 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,4 +1,4 @@ export const environment = { production: true, - defaultServerUrl: 'https://tojusignal.azaaxin.com' + defaultServerUrl: 'https://signal.toju.app' }; diff --git a/tools/deploy-web-apps.ps1 b/tools/deploy-web-apps.ps1 index 62fd6f3..e47d052 100644 --- a/tools/deploy-web-apps.ps1 +++ b/tools/deploy-web-apps.ps1 @@ -34,6 +34,8 @@ function Invoke-RoboCopyMirror { if ($LASTEXITCODE -gt 7) { throw "robocopy failed from $Source to $Destination with exit code $LASTEXITCODE" } + + $global:LASTEXITCODE = 0 } function Ensure-AppPool { @@ -99,3 +101,5 @@ $deployments = @( foreach ($deployment in $deployments) { Publish-IisSite @deployment } + +$global:LASTEXITCODE = 0