diff --git a/web/src/pages/providers/proxy/ProxyProviderViewPage.ts b/web/src/pages/providers/proxy/ProxyProviderViewPage.ts index a76022ea9..cf10e0b6b 100644 --- a/web/src/pages/providers/proxy/ProxyProviderViewPage.ts +++ b/web/src/pages/providers/proxy/ProxyProviderViewPage.ts @@ -97,14 +97,15 @@ export class ProxyProviderViewPage extends LitElement { if (this.provider?.mode === ProxyMode.ForwardSingle) { markdown.html = markdown.html .replaceAll("authentik.company", window.location.hostname) - .replaceAll("http://outpost.company:9000", window.location.hostname) + .replaceAll("outpost.company:9000", window.location.hostname) .replaceAll("https://app.company", extHost.toString()) .replaceAll("app.company", extHost.hostname); } else if (this.provider?.mode == ProxyMode.ForwardDomain) { markdown.html = markdown.html .replaceAll("authentik.company", window.location.hostname) - .replaceAll("https://app.company", extHost.hostname) - .replaceAll("http://outpost.company:9000", extHost.toString()); + .replaceAll("outpost.company:9000", extHost.toString()) + .replaceAll("https://app.company", extHost.toString()) + .replaceAll("app.company", extHost.hostname); } return markdown; }