anchor.diff:          
           $.ajax({
   
  -              url: "https://"+window.location.host+"/rest/activity/",
  -              //url: "/rest/activity",
  +              //url: "https://"+window.location.host+"/rest/activity/",
  +              url: "/rest/activity",
                 type: "POST",
                 data: JSON.stringify(activityData),
                 contentType: "application/json; charset=utf-8",
  
positive.code:     </div>
  
      <!-- upcoming events -->
      <div class="portfolio-modal modal fade" id="portfolioModal3" tabindex="-1" role="dialog" aria-hidden="true">
          <div class="modal-content">
              <div class="close-modal" data-dismiss="modal">
                  <div class="lr">
  
negative.code:   
     
          $.ajax({
              //url: "https://"+window.location.host+"/rest/event/",
              url: "/rest/event/",
              type:'GET',
              dataType: "json",
              success: function (data) {
  