신동해

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

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