Skip to content

Commit

Permalink
[#44] Feat: Add image route for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
inyeoptti committed Oct 13, 2022
1 parent ffd7b11 commit 38a7ac2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/src/api/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Router } from "express";
import { accounts, mariadbTest, board, career } from "./routes";
import { accounts, mariadbTest, board, career, image } from "./routes";

const app = Router();

Expand All @@ -8,5 +8,6 @@ app.use("/accounts", accounts);
app.use("/board", board);
app.use("/career", career);
app.use("/", mariadbTest);
app.use("/image", image);

export default app;
7 changes: 7 additions & 0 deletions backend/src/api/routes/image.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Router } from "express";

const router = Router();



export default router;
3 changes: 2 additions & 1 deletion backend/src/api/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import accounts from "./accounts";
import mariadbTest from "./mariadbTest";
import board from "./board";
import career from "./career";
import image from "./image";

export { accounts, mariadbTest, board, career };
export { accounts, mariadbTest, board, career, image };

0 comments on commit 38a7ac2

Please sign in to comment.