신동해

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

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