change full screen view to embed view
This commit is contained in:
parent
1e32e42729
commit
2645e13786
2 changed files with 4 additions and 3 deletions
|
@ -4,5 +4,6 @@ import * as EmbedController from '../controllers/embed.controller';
|
|||
const router = new Router();
|
||||
|
||||
router.route('/embed/:project_id').get(EmbedController.serveProject);
|
||||
router.route('/full/:project_id').get(EmbedController.serveProject);
|
||||
|
||||
export default router;
|
||||
|
|
|
@ -17,9 +17,9 @@ router.route('/projects/:project_id').get((req, res) => {
|
|||
res.sendFile(path.resolve(`${__dirname}/../../index.html`));
|
||||
});
|
||||
|
||||
router.route('/full/:project_id').get((req, res) => {
|
||||
res.sendFile(path.resolve(`${__dirname}/../../index.html`));
|
||||
});
|
||||
// router.route('/full/:project_id').get((req, res) => {
|
||||
// res.sendFile(path.resolve(`${__dirname}/../../index.html`));
|
||||
// });
|
||||
|
||||
router.route('/login').get((req, res) => {
|
||||
res.sendFile(path.resolve(`${__dirname}/../../index.html`));
|
||||
|
|
Loading…
Reference in a new issue