Flare-k

modified aip -> api

Showing 1 changed file with 2 additions and 2 deletions
...@@ -14,7 +14,7 @@ import routes from "./routes"; ...@@ -14,7 +14,7 @@ import routes from "./routes";
14 import userRouter from "./routers/userRouter"; 14 import userRouter from "./routers/userRouter";
15 import videoRouter from "./routers/videoRouter"; 15 import videoRouter from "./routers/videoRouter";
16 import globalRouter from "./routers/globalRouter"; 16 import globalRouter from "./routers/globalRouter";
17 -import aipRouter from "./routers/apiRouter"; 17 +import apiRouter from "./routers/apiRouter";
18 import "./passport"; 18 import "./passport";
19 19
20 dotenv.config(); 20 dotenv.config();
...@@ -47,5 +47,5 @@ app.use(localsMiddleware); ...@@ -47,5 +47,5 @@ app.use(localsMiddleware);
47 app.use(routes.home, globalRouter); 47 app.use(routes.home, globalRouter);
48 app.use(routes.users, userRouter); 48 app.use(routes.users, userRouter);
49 app.use(routes.videos, videoRouter); 49 app.use(routes.videos, videoRouter);
50 -app.use(routes.api, aipRouter); 50 +app.use(routes.api, apiRouter);
51 export default app; // 파일을 불러올때 app object를 준다는 의미. 51 export default app; // 파일을 불러올때 app object를 준다는 의미.
......