Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강연욱
/
myYoutube
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
2
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Flare-k
2020-08-06 21:09:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6dacc20b317798b2da0655172d491cd24488e18d
6dacc20b
1 parent
18e3abfc
modified aip -> api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app.js
app.js
View file @
6dacc20
...
...
@@ -14,7 +14,7 @@ import routes from "./routes";
import
userRouter
from
"./routers/userRouter"
;
import
videoRouter
from
"./routers/videoRouter"
;
import
globalRouter
from
"./routers/globalRouter"
;
import
a
ip
Router
from
"./routers/apiRouter"
;
import
a
pi
Router
from
"./routers/apiRouter"
;
import
"./passport"
;
dotenv
.
config
();
...
...
@@ -47,5 +47,5 @@ app.use(localsMiddleware);
app
.
use
(
routes
.
home
,
globalRouter
);
app
.
use
(
routes
.
users
,
userRouter
);
app
.
use
(
routes
.
videos
,
videoRouter
);
app
.
use
(
routes
.
api
,
a
ip
Router
);
app
.
use
(
routes
.
api
,
a
pi
Router
);
export
default
app
;
// 파일을 불러올때 app object를 준다는 의미.
...
...
Please
register
or
login
to post a comment