신동해

Update result_pro.ejs : change news url (originalink -> link)

......@@ -7,7 +7,7 @@
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
</head>
<body>
......@@ -20,7 +20,7 @@
<p style="font-weight:bold; font-size:120%">제목 : <%= posts[i].title.replace(/(<b>|<\/b>|&quot)/gi,'') %></p>
<p >내용 : <%= posts[i].description.replace(/(<b>|<\/b>|&quot)/gi,'') %></p>
<p >날짜 : <%= posts[i].pubDate %></p>
<button class="btn btn-secondary" onclick="location.href='<%= posts[i].originallink.replace(/http/gi,'https') %>'">뉴스 보기</button>
<button class="btn btn-secondary" onclick="location.href='<%= posts[i].link %>'">뉴스 보기</button>
</li>
<% } %>
</ul>
......