8 lines
No EOL
231 B
JavaScript
8 lines
No EOL
231 B
JavaScript
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; |