Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대철
/
CafeRecommend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김대철
2021-06-02 00:24:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00621b6c216e08cbef6062fe6f82d306e341a5e6
00621b6c
1 parent
09dadc5d
CHORE: 추천 API 결과값 전달 send로 변경
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
routes/index.js
views/map.ejs
routes/index.js
View file @
00621b6
...
...
@@ -278,7 +278,7 @@ router.get("/recommend", function (req, res) {
console
.
log
(
err
);
}
else
if
(
row
.
length
>
0
)
{
console
.
log
(
row
);
res
.
render
(
"map"
,
{
user
:
req
.
session
.
user
,
row
:
row
}
);
res
.
send
(
row
);
}
});
}
...
...
views/map.ejs
View file @
00621b6
...
...
@@ -137,7 +137,8 @@
>
</li>
<li
class=
"nav-item active"
>
<a
class=
"nav-link"
style=
"color: #ffffff"
href=
"/recommend"
>
Recommend
<a
class=
"nav-link"
style=
"color: #ffffff"
href=
"/recommend"
>
Recommend
<span
class=
"sr-only"
>
(current)
</span>
</a>
</li>
...
...
Please
register
or
login
to post a comment