박기범

modify s3 require path to s3_new.js

...@@ -3,7 +3,7 @@ const router = express.Router(); ...@@ -3,7 +3,7 @@ const router = express.Router();
3 const AWS = require("aws-sdk"); 3 const AWS = require("aws-sdk");
4 const moment = require("moment"); 4 const moment = require("moment");
5 AWS.config.loadFromPath(__dirname + "/modules/awsconfig.json"); 5 AWS.config.loadFromPath(__dirname + "/modules/awsconfig.json");
6 -var S3 = require(__dirname + '/modules/s3/s3'); 6 +var S3 = require(__dirname + '/modules/s3/s3_new');
7 7
8 const s3 = new AWS.S3(); 8 const s3 = new AWS.S3();
9 9
......