Toggle navigation
Toggle navigation
This project
Loading...
Sign in
신동해
/
Omniscient-Public-Point-Of-View
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
4
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
신동해
2021-12-09 16:55:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a07c8d5a611581afdc0337913862f8ef8c82e053
a07c8d5a
1 parent
0f416364
Update result_pro.ejs : change news url (originalink -> link)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
views/result_pro.ejs
views/result_pro.ejs
View file @
a07c8d5
...
...
@@ -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>
...
...
Please
register
or
login
to post a comment