From f2365f767cd92f5b7039260be7de565db86f14a0 Mon Sep 17 00:00:00 2001 From: Lou Nelson Jr <61295275+loujr@users.noreply.github.com> Date: Tue, 7 Feb 2023 19:08:42 -0500 Subject: [PATCH] Update installing-github-apps.md (#34437) Co-authored-by: Sarah Edwards --- .../apps/managing-github-apps/installing-github-apps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/developers/apps/managing-github-apps/installing-github-apps.md b/content/developers/apps/managing-github-apps/installing-github-apps.md index ec7dd57188..b295314197 100644 --- a/content/developers/apps/managing-github-apps/installing-github-apps.md +++ b/content/developers/apps/managing-github-apps/installing-github-apps.md @@ -53,7 +53,7 @@ These steps assume you have [built a {% data variables.product.prodname_github_a ![Homepage URL](/assets/images/github-apps/github_apps_homepageURL.png) 3. GitHub provides a landing page for your app that includes a link to your app's "Homepage URL." To visit the landing page on GitHub, copy the URL from "Public link" and paste it into a browser. ![Public link](/assets/images/github-apps/github_apps_public_link.png) -4. Create a homepage for your app that includes the app installation URL: `{% data variables.product.oauth_host_code %}/apps//installations/new`. +4. Create a homepage for your app that includes the app installation URL: `{% data variables.product.oauth_host_code %}/{% ifversion ghes or ghae %}github-apps{% else %}apps{% endif %}//installations/new`. ## Authorizing users during installation @@ -66,4 +66,4 @@ You can provide a `state` parameter in an app's installation URL to preserve the To preserve a state, add it to the installation URL: -`{% data variables.product.oauth_host_code %}/apps//installations/new?state=AB12t` +`{% data variables.product.oauth_host_code %}/{% ifversion ghes or ghae %}github-apps{% else %}apps{% endif %}//installations/new?state=AB12t`