$(document).ready(function() {

$("a.header__link:not(.no-selected)").each(function() {
  $(this).attr(
    "href",
    $(this)
      .attr("href")
      .replace("API_URL", URL_SITE)
  );
});

$("a.minha-link").each(function() {
  $(this).attr(
    "href",
    $(this)
      .attr("href")
      .replace("URL_MINHA", URL_MINHA)
  );
});

$("a.ec-link").each(function() {
  $(this).attr(
    "href",
    $(this)
      .attr("href")
      .replace("EC_URL", URL_EC)
  );
});

});