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