Skip to content

Commit

Permalink
Fix SonarCloud alert
Browse files Browse the repository at this point in the history
SonarCloud doesn't like raw http links, preferring https.  In this case the link should never be used so it makes no difference to switch to https.
  • Loading branch information
sjwmoveon committed May 15, 2024
1 parent 77cc415 commit 716a154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OrganizationReassignLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
import DisplayLink from "./DisplayLink";

const OrganizationReassignLink = ({ joinToken, campaignId }) => {
let baseUrl = "http://base";
let baseUrl = "https://base";
if (typeof window !== "undefined") {
baseUrl = window.location.origin;
}
Expand Down

0 comments on commit 716a154

Please sign in to comment.