diff --git a/.github/workflows/build-agent.yml b/.github/workflows/build-agent.yml
index 82fc99f8..b33bbd96 100644
--- a/.github/workflows/build-agent.yml
+++ b/.github/workflows/build-agent.yml
@@ -72,7 +72,7 @@ jobs:
shell: pwsh
run: |
$counterBlob = "buildcounter-v$env:LINE_MAJOR.txt"
- $counterUrl = "https://autopilotmonitor.blob.core.windows.net/agent/$counterBlob"
+ $counterUrl = "https://autopilotmonitoreu.blob.core.windows.net/agent/$counterBlob"
# Tolerate both secret formats ("sp=cw&..." and "?sp=cw&...") -- the URL below adds the '?'.
$sasToken = "${{ secrets.AZURE_BLOB_AGENT_SAS_TOKEN }}".TrimStart('?')
$override = "${{ inputs.build_number }}"
@@ -263,7 +263,7 @@ jobs:
if: inputs.upload_blob
shell: pwsh
run: |
- $containerUrl = "https://autopilotmonitor.blob.core.windows.net/agent"
+ $containerUrl = "https://autopilotmonitoreu.blob.core.windows.net/agent"
$sasToken = "${{ secrets.AZURE_BLOB_AGENT_SAS_TOKEN }}".TrimStart('?')
function Send-Blob {
diff --git a/.github/workflows/deploy-backend.yml b/.github/workflows/deploy-backend.yml
index e45ba2f4..8ccf0642 100644
--- a/.github/workflows/deploy-backend.yml
+++ b/.github/workflows/deploy-backend.yml
@@ -39,5 +39,5 @@ jobs:
- name: Deploy to Azure Functions
uses: Azure/functions-action@v1
with:
- app-name: autopilotmonitor-api
+ app-name: autopilotmonitor-api-eu
package: ./publish
diff --git a/.github/workflows/deploy-mcp.yml b/.github/workflows/deploy-mcp.yml
index add3af2b..178f1f08 100644
--- a/.github/workflows/deploy-mcp.yml
+++ b/.github/workflows/deploy-mcp.yml
@@ -8,7 +8,7 @@ permissions:
contents: read
env:
- ACR_NAME: autopilotmonitoracr
+ ACR_NAME: autopilotmonitoreuacr
CONTAINER_APP_NAME: autopilotmonitor-mcp
RESOURCE_GROUP: ${{ secrets.AZURE_MCP_RESOURCE_GROUP }}
IMAGE_TAG: ${{ github.sha }}
diff --git a/src/McpServer/autopilot-monitor-mcp/package.json b/src/McpServer/autopilot-monitor-mcp/package.json
index 3ba5d734..91e8e578 100644
--- a/src/McpServer/autopilot-monitor-mcp/package.json
+++ b/src/McpServer/autopilot-monitor-mcp/package.json
@@ -11,7 +11,7 @@
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"docker:build": "docker build -f Dockerfile -t autopilotmonitor-mcp:local ../../../",
- "docker:run": "docker run --rm -p 8080:8080 -e AUTOPILOT_API_URL=https://autopilotmonitor-api.azurewebsites.net autopilotmonitor-mcp:local",
+ "docker:run": "docker run --rm -p 8080:8080 -e AUTOPILOT_API_URL=https://autopilotmonitor-api-eu.azurewebsites.net autopilotmonitor-mcp:local",
"test": "vitest run",
"test:watch": "vitest"
},
diff --git a/src/McpServer/autopilot-monitor-mcp/src/config.ts b/src/McpServer/autopilot-monitor-mcp/src/config.ts
index 480e9d47..fdb4c018 100644
--- a/src/McpServer/autopilot-monitor-mcp/src/config.ts
+++ b/src/McpServer/autopilot-monitor-mcp/src/config.ts
@@ -11,7 +11,7 @@
*/
import type { Request } from 'express';
-const DEFAULT_API_BASE_URL = 'https://autopilotmonitor-api.azurewebsites.net';
+const DEFAULT_API_BASE_URL = 'https://autopilotmonitor-api-eu.azurewebsites.net';
function resolveApiBaseUrl(): string {
const fromEnv = process.env.AUTOPILOT_API_URL?.trim();
diff --git a/src/Shared/AutopilotMonitor.Shared/Constants.cs b/src/Shared/AutopilotMonitor.Shared/Constants.cs
index 9f54cf10..84d37fef 100644
--- a/src/Shared/AutopilotMonitor.Shared/Constants.cs
+++ b/src/Shared/AutopilotMonitor.Shared/Constants.cs
@@ -70,7 +70,7 @@ namespace AutopilotMonitor.Shared
///
/// Default backend API base URL (overridable via AUTOPILOT_MONITOR_API env var or --api-url CLI arg)
///
- public const string ApiBaseUrl = "https://autopilotmonitor-api.azurewebsites.net";
+ public const string ApiBaseUrl = "https://autopilotmonitor-api-eu.azurewebsites.net";
///
/// Public base URL of the MCP server Container App (no trailing slash, no /mcp suffix).
diff --git a/src/Web/autopilot-monitor-web/app/go/[code]/route.ts b/src/Web/autopilot-monitor-web/app/go/[code]/route.ts
index 08a5d51e..70ba9bae 100644
--- a/src/Web/autopilot-monitor-web/app/go/[code]/route.ts
+++ b/src/Web/autopilot-monitor-web/app/go/[code]/route.ts
@@ -3,7 +3,7 @@ import { validateBootstrapResponse } from "@/utils/bootstrapValidation";
export const runtime = "nodejs";
const BACKEND_API_URL =
- process.env.BACKEND_API_URL ?? "https://autopilotmonitor-api.azurewebsites.net";
+ process.env.BACKEND_API_URL ?? "https://autopilotmonitor-api-eu.azurewebsites.net";
export async function GET(
_req: Request,
diff --git a/src/Web/autopilot-monitor-web/next.config.ts b/src/Web/autopilot-monitor-web/next.config.ts
index 50a4c87c..3b2b9f95 100644
--- a/src/Web/autopilot-monitor-web/next.config.ts
+++ b/src/Web/autopilot-monitor-web/next.config.ts
@@ -81,7 +81,7 @@ const nextConfig: NextConfig = {
"style-src 'self' 'unsafe-inline'",
"img-src 'self' data: blob: https://*.tile.openstreetmap.org",
"font-src 'self'",
- "connect-src 'self' https://autopilotmonitor-api.azurewebsites.net https://autopilotmonitor.blob.core.windows.net https://login.microsoftonline.com https://*.service.signalr.net wss://*.service.signalr.net https://js.monitor.azure.com https://*.in.applicationinsights.azure.com",
+ "connect-src 'self' https://autopilotmonitor-api-eu.azurewebsites.net https://autopilotmonitoreu.blob.core.windows.net https://login.microsoftonline.com https://*.service.signalr.net wss://*.service.signalr.net https://js.monitor.azure.com https://*.in.applicationinsights.azure.com",
"frame-ancestors 'none'",
].join("; "),
},