change full screen view to embed view

This commit is contained in:
Cassie Tarakajian 2016-11-02 11:12:07 -04:00
parent 1e32e42729
commit 2645e13786
2 changed files with 4 additions and 3 deletions

View file

@ -4,5 +4,6 @@ import * as EmbedController from '../controllers/embed.controller';
const router = new Router(); const router = new Router();
router.route('/embed/:project_id').get(EmbedController.serveProject); router.route('/embed/:project_id').get(EmbedController.serveProject);
router.route('/full/:project_id').get(EmbedController.serveProject);
export default router; export default router;

View file

@ -17,9 +17,9 @@ router.route('/projects/:project_id').get((req, res) => {
res.sendFile(path.resolve(`${__dirname}/../../index.html`)); res.sendFile(path.resolve(`${__dirname}/../../index.html`));
}); });
router.route('/full/:project_id').get((req, res) => { // router.route('/full/:project_id').get((req, res) => {
res.sendFile(path.resolve(`${__dirname}/../../index.html`)); // res.sendFile(path.resolve(`${__dirname}/../../index.html`));
}); // });
router.route('/login').get((req, res) => { router.route('/login').get((req, res) => {
res.sendFile(path.resolve(`${__dirname}/../../index.html`)); res.sendFile(path.resolve(`${__dirname}/../../index.html`));