9 lines
296 B
JavaScript
9 lines
296 B
JavaScript
import { Router } from 'express';
|
|
import * as EmbedController from '../controllers/embed.controller';
|
|
|
|
const router = new Router();
|
|
|
|
router.route('/embed/:project_id').get(EmbedController.serveProject);
|
|
router.route('/full/:project_id').get(EmbedController.serveProject);
|
|
|
|
export default router;
|