Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김서연
/
Corona_Vaccination_Medical_Institution
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Heo
2021-05-22 14:39:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6fd679db2eacbb51a8390a0bd9a18db29caff40
f6fd679d
1 parent
dd89c2c9
branch 생성
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
app.js
app.js
View file @
f6fd679
...
...
@@ -27,9 +27,7 @@ app.post('/',function(req,res,next){
//data부분만 추출
var
obj
=
JSON
.
parse
(
body
).
data
;
// console.log(obj);
//검색한 지역 포함한 모든 data 담기
let
searchList
=
obj
.
filter
(
searchList
=>
{
return
searchList
.
orgZipaddr
.
includes
(
searchWord
);
...
...
@@ -37,7 +35,7 @@ app.post('/',function(req,res,next){
// console.log(searchList);
//result라는 변수에 담아 결과 보내기
res
.
render
(
'main'
,
{
result
:
searchList
,
map
:
map
});
res
.
render
(
'main'
,
{
result
:
searchList
});
})
})
...
...
Please
register
or
login
to post a comment