10 lines
371 B
JavaScript
10 lines
371 B
JavaScript
import { Router } from 'express';
|
|
import * as EmbedController from '../controllers/embed.controller';
|
|
|
|
const router = new Router();
|
|
|
|
router.get('/:username/embed/:project_id', EmbedController.serveProject);
|
|
router.get('/:username/present/:project_id', EmbedController.serveProject);
|
|
router.get('/embed/:project_id', EmbedController.serveProject);
|
|
|
|
export default router;
|