p5.js-web-editor/server/routes/embed.routes.js

9 lines
227 B
JavaScript
Raw Normal View History

import { Router } from 'express';
import * as EmbedController from '../controllers/embed.controller';
const router = new Router();
router.route('/embed/:project_id').get(EmbedController.serveProject);
export default router;