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

8 lines
231 B
JavaScript
Raw Normal View History

import { Router } from 'express';
import * as FileController from '../controllers/file.controller';
const router = new Router();
router.route('/projects/:project_id/files').post(FileController.createFile);
export default router;