You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import express from "express";
|
|
import image from "./api/image"
|
|
|
|
const routes = express.Router();
|
|
|
|
routes.get("/", (req: express.Request, res: express.Response): void => {
|
|
res.send("Hello API use /images for image processing");
|
|
})
|
|
|
|
routes.use("/image", image);
|
|
|
|
|
|
export default routes; |