Toggle navigation
Toggle navigation
This project
Loading...
Sign in
201side
/
floater
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
robin*
2020-12-09 12:47:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a2c04df8fabe78a60ee0a8628a34147c8519e074
a2c04df8
1 parent
61503c44
모듈 경로 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/routes/board.js
src/routes/board.js
View file @
a2c04df
const
app
=
require
(
'./server'
);
const
db
=
require
(
'./db'
);
const
app
=
require
(
'.
.
/server'
);
const
db
=
require
(
'.
.
/db'
);
app
.
get
(
'/board'
,
async
(
req
,
res
)
=>
{
res
.
json
({
boards
:
await
db
.
get
(
'board'
).
find
()});
...
...
Please
register
or
login
to post a comment