Hong

.

...@@ -2,7 +2,7 @@ const express = require('express'); ...@@ -2,7 +2,7 @@ const express = require('express');
2 const router = express.Router(); 2 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 6
7 const BUCKET_NAME = "hong-s3-cloud"; 7 const BUCKET_NAME = "hong-s3-cloud";
8 let curPath = ""; 8 let curPath = "";
......
...@@ -2,7 +2,7 @@ const express = require('express'); ...@@ -2,7 +2,7 @@ const express = require('express');
2 const router = express.Router(); 2 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 6
7 const BUCKET_NAME = "hong-s3-cloud"; 7 const BUCKET_NAME = "hong-s3-cloud";
8 8
......