diff --git a/Common/Server/EnvironmentConfig.ts b/Common/Server/EnvironmentConfig.ts index bd470e42d0..87d18df042 100644 --- a/Common/Server/EnvironmentConfig.ts +++ b/Common/Server/EnvironmentConfig.ts @@ -400,11 +400,9 @@ export const StatusPageApiClientUrl: URL = new URL( // Internal URL for server-to-server communication (uses internal Docker hostname) // Note: The internal path is /api/status-page (not /status-page-api) because // /status-page-api is the external route that Nginx rewrites to /api/status-page -export const StatusPageApiInternalUrl: URL = new URL( - Protocol.HTTP, - AppApiHostname.toString(), - new Route("/api/status-page"), -); +export const StatusPageApiInternalUrl: URL = URL.fromString( + AppApiClientUrl.toString() +).addRoute(new Route("/status-page")); export const DashboardClientUrl: URL = new URL( HttpProtocol,