Showing
2 changed files
with
2 additions
and
16 deletions
... | @@ -2,23 +2,13 @@ var express = require('express'); | ... | @@ -2,23 +2,13 @@ var express = require('express'); |
2 | var bodyParser = require('body-parser'); | 2 | var bodyParser = require('body-parser'); |
3 | var request = require('request'); | 3 | var request = require('request'); |
4 | var cheerio = require('cheerio'); | 4 | var cheerio = require('cheerio'); |
5 | - | ||
6 | var app =express(); | 5 | var app =express(); |
7 | -const HTTPS = require('https'); | ||
8 | -const domain = "www.stagefive.tk" | ||
9 | -const sslport = 80; | ||
10 | 6 | ||
11 | app.set('view engine','ejs'); | 7 | app.set('view engine','ejs'); |
12 | app.set('views','./views') | 8 | app.set('views','./views') |
13 | app.use(express.urlencoded( {extended : false } )); | 9 | app.use(express.urlencoded( {extended : false } )); |
14 | app.locals.pretty=true; | 10 | app.locals.pretty=true; |
15 | 11 | ||
16 | -// app.set('view engine','pug'); | ||
17 | - | ||
18 | -app.use(express.static('public')); | ||
19 | -var http = require('http'); | ||
20 | -var fs = require('fs'); | ||
21 | - | ||
22 | //?page=페이지번호&?perPage=페이지당 데이터수 | 12 | //?page=페이지번호&?perPage=페이지당 데이터수 |
23 | const $base_url = `https://api.odcloud.kr/api/apnmOrg/v1/list`; | 13 | const $base_url = `https://api.odcloud.kr/api/apnmOrg/v1/list`; |
24 | const $key = '4US0H%2BXj%2BmS8IR4YL0%2BUb9H4CcbTr92QxhYULfOEz1DT%2BZaaos4sRfNh6cmAD2Icli862Ysc31%2BaE4pWywDBIA%3D%3D'; | 14 | const $key = '4US0H%2BXj%2BmS8IR4YL0%2BUb9H4CcbTr92QxhYULfOEz1DT%2BZaaos4sRfNh6cmAD2Icli862Ysc31%2BaE4pWywDBIA%3D%3D'; | ... | ... |
... | @@ -18,10 +18,7 @@ | ... | @@ -18,10 +18,7 @@ |
18 | </head> | 18 | </head> |
19 | <body> | 19 | <body> |
20 | <center> | 20 | <center> |
21 | - | 21 | + <h1 style="font-family:verdana;font-weight:bold; ">COVID-19 예방접종 위탁 의료기관 조회</h1> <hr> |
22 | - <!-- <div style="background: #e8ecff; border-left: 0.5em solid #688FF4;border-right: 0.5em solid #688FF4; padding: 0.5em;"> --> | ||
23 | - <h2>COVID-19 예방접종 위탁 의료기관 조회</h2> <hr> | ||
24 | - <!-- </div> --> | ||
25 | <form action="/" method="post"> | 22 | <form action="/" method="post"> |
26 | <p> | 23 | <p> |
27 | <div style="float:right; width:40%; margin-bottom:10px; margin-right: 5px;"> | 24 | <div style="float:right; width:40%; margin-bottom:10px; margin-right: 5px;"> |
... | @@ -31,8 +28,7 @@ | ... | @@ -31,8 +28,7 @@ |
31 | </p> | 28 | </p> |
32 | </form> | 29 | </form> |
33 | </center> | 30 | </center> |
34 | - | 31 | + |
35 | - | ||
36 | <script type="text/javascript" src="https://dapi.kakao.com/v2/maps/sdk.js?appkey=35fccf4b4e2a3179187346f26ed3f988&libraries=services"></script> | 32 | <script type="text/javascript" src="https://dapi.kakao.com/v2/maps/sdk.js?appkey=35fccf4b4e2a3179187346f26ed3f988&libraries=services"></script> |
37 | 33 | ||
38 | <% if(typeof(info) != "undefined"){ %> | 34 | <% if(typeof(info) != "undefined"){ %> | ... | ... |
-
Please register or login to post a comment