Skip to content

Commit

Permalink
Merge pull request #177 from Vizzuality/staging
Browse files Browse the repository at this point in the history
URL
  • Loading branch information
mluena authored Nov 14, 2024
2 parents e329837 + 728d172 commit 309da3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/containers/countries/countries-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ const CountriesTable = () => {
{v.isResource ? (
v.resources?.length ? (
v.resources?.map((r) => {
const URL = r.link_url.replace(/^(?!https?:\/\/)?/i, "https://");
const URL = r.link_url.replace(
/^(?!https?:\/\/)(.*)$/i,
"https://$1",
);

return (
<Popover key={r.link_title}>
Expand Down

0 comments on commit 309da3b

Please sign in to comment.