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

11 lines
341 B
JavaScript
Raw Normal View History

2016-07-16 01:05:18 +02:00
import { Router } from 'express';
import * as AWSController from '../controllers/aws.controller';
const router = new Router();
router.route('/S3/sign').post(AWSController.signS3);
router.route('/S3/copy').post(AWSController.copyObjectInS3);
router.route('/S3/:object_key').delete(AWSController.deleteObjectFromS3);
2016-07-16 01:05:18 +02:00
export default router;