mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Update StatusPageApiInternalUrl to use correct internal route for server communication
This commit is contained in:
@@ -398,10 +398,12 @@ 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(StatusPageApiRoute.toString()),
|
||||
new Route("/api/status-page"),
|
||||
);
|
||||
|
||||
export const DashboardClientUrl: URL = new URL(
|
||||
|
||||
Reference in New Issue
Block a user