Skip to content

Commit 86506d9

Browse files
committed
Add rel prop to github links
1 parent c74f1c8 commit 86506d9

File tree

2 files changed

+3
-0
lines changed
  • apps/webapp/app/routes
    • _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments
    • _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings

2 files changed

+3
-0
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.deployments/route.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ export default function Page() {
327327
<a
328328
href={connectedGithubRepository.repository.htmlUrl}
329329
target="_blank"
330+
rel="noreferrer noopener"
330331
className="max-w-52 truncate text-sm text-text-dimmed underline transition-colors hover:text-text-bright"
331332
>
332333
{connectedGithubRepository.repository.fullName}

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings/route.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ function ConnectGitHubRepoModal({
818818
Configure repository access in{" "}
819819
<TextLink
820820
target="_blank"
821+
rel="noreferrer noopener"
821822
to={`https://github.com/settings/installations/${selectedInstallation?.appInstallationId}`}
822823
>
823824
GitHub
@@ -960,6 +961,7 @@ function ConnectedGitHubRepoForm({
960961
<a
961962
href={connectedGitHubRepo.repository.htmlUrl}
962963
target="_blank"
964+
rel="noreferrer noopener"
963965
className="max-w-52 truncate text-sm text-text-bright hover:underline"
964966
>
965967
{connectedGitHubRepo.repository.fullName}

0 commit comments

Comments
 (0)