You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
303 B
12 lines
303 B
import {Router} from 'express';
|
|
import {getProfilePicture, getThumbnail} from "../controllers/media.controller.js";
|
|
|
|
const router = Router();
|
|
|
|
router.get("/profile/:file", getProfilePicture);
|
|
|
|
//router.get("/video/:file", getVideo);
|
|
|
|
router.get("/thumbnail/:file", getThumbnail);
|
|
|
|
export default router;
|