2016-09-05 20:08:08 +00:00
|
|
|
import { Router } from 'express';
|
|
|
|
import * as EmbedController from '../controllers/embed.controller';
|
|
|
|
|
|
|
|
const router = new Router();
|
|
|
|
|
|
|
|
router.route('/embed/:project_id').get(EmbedController.serveProject);
|
2016-11-02 15:12:07 +00:00
|
|
|
router.route('/full/:project_id').get(EmbedController.serveProject);
|
2016-09-05 20:08:08 +00:00
|
|
|
|
|
|
|
export default router;
|