2016-09-05 20:08:08 +00:00
|
|
|
import { Router } from 'express';
|
|
|
|
import * as EmbedController from '../controllers/embed.controller';
|
|
|
|
|
|
|
|
const router = new Router();
|
|
|
|
|
2018-10-18 18:10:37 +00:00
|
|
|
router.get('/:username/embed/:project_id', EmbedController.serveProject);
|
2019-01-16 17:35:34 +00:00
|
|
|
router.get('/:username/present/:project_id', EmbedController.serveProject);
|
2018-01-09 20:57:49 +00:00
|
|
|
router.get('/embed/:project_id', EmbedController.serveProject);
|
2016-09-05 20:08:08 +00:00
|
|
|
|
|
|
|
export default router;
|