신동해

Update list.ejs,result_pro.ejs : fix https problem

...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
32 <div id = "진보" > 32 <div id = "진보" >
33 <h4 style = "text-align: center; color:blue; font-weight:bold;">진보</h4> 33 <h4 style = "text-align: center; color:blue; font-weight:bold;">진보</h4>
34 <h3 style="text-align:center;"> 34 <h3 style="text-align:center;">
35 - <iframe src="https://oppov-334600.du.r.appspot.com/result/progress/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes"> 35 + <iframe src="https://oppov-334600.du.r.appspot.com /result/progress/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
36 </iframe> 36 </iframe>
37 </h3> 37 </h3>
38 </div> 38 </div>
39 <div id = "보수"> 39 <div id = "보수">
40 <h4 style = "text-align: center; color:red; font-weight:bold;">보수</h4> 40 <h4 style = "text-align: center; color:red; font-weight:bold;">보수</h4>
41 <h3 style="text-align:center;"> 41 <h3 style="text-align:center;">
42 - <iframe src="https://oppov-334600.du.r.appspot.com/result/liberal/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes"> 42 + <iframe src="https://oppov-334600.du.r.appspot.com /result/liberal/<%=주제%>" width="550" height="600" marginwidth="0" frameborder="2" scrolling="yes">
43 </iframe> 43 </iframe>
44 </h3> 44 </h3>
45 </div> 45 </div>
......
...@@ -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 %>'">뉴스 보기</button> 23 + <button class="btn btn-secondary" onclick="location.href='<%= posts[i].originallink.replace(/http/gi,'https') %>'">뉴스 보기</button>
24 </li> 24 </li>
25 <% } %> 25 <% } %>
26 </ul> 26 </ul>
......