Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
leeseohyeon
2020-06-08 17:40:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd93dee77ab45a38ac1a92582ebad9345da1ac75
bd93dee7
1 parent
2095677a
빈 파일 get 수정
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
backend/routes/modules/awsconfig.json
backend/routes/modules/s3/s3.js
backend/routes/modules/awsconfig.json
View file @
bd93dee
{
"accessKeyId"
:
"ASIAZQ5XTMMF
YKGWGIQJ
"
,
"secretAccessKey"
:
"
d3ljiFkZ9QhRxCwE99mw3oFMaVa3JRPkMFDKec48
"
,
"sessionToken"
:
"FwoGZXIvYXdzE
H8aDHT83Ci5/yuYOOCJTyLDAaQaZLTrJaQf7IsZGhY0UEqpHWgOp7j9T+d/WIpoCxVD/GP53RMlVHlFMfCerfkWEVNXWJOkblExYDBTt4QMLzdhONlOQWVONAvhL8agZ6bUS66sHMQ+PlG+CO/Fjj1pLzOXc2g20elUC0+45pdczi8o33UJEACOCW11K5tYzE2lqjrdggOU00VICLNU5HmPYGH/Sku6NG3goo3hKwrCY2m/YhuPB0hP29g/dLpaUum2oy2VXryi1K255d5tontTA8Dbcyj13PP2BTIt5eqJvxyyyNzJCrXfK1LZkA8WCEMbGTasgfkwm5m7yBKrVFMpEdy9gvcXzuva
"
,
"accessKeyId"
:
"ASIAZQ5XTMMF
3ELCTADR
"
,
"secretAccessKey"
:
"
InEMPdQmNjV0SivIkw1UJwjGUDAFKrwvvPkAVVmx
"
,
"sessionToken"
:
"FwoGZXIvYXdzE
JL//////////wEaDCaoEldiVQf3HLMLciLDAaOTxR/gqKjCnyFawPdFEqw4owZueDFAWp6jCQ1v/T0bYgXOU99OSdLvWt+EAN/l5avAn1N6ZN1H5fXIvqsKjCYtBwEn0jfI7rWdvaLfYgcU+dafml7WeUL2h2s4imrMf/MTVZl78W3I+xPe09r8UkcaJKVHl9Z5OSsgJOGFo3Htvv22H2HRuxYjTepgdqrPSa/xGbk0O4rQP3nJ7tYHMxhwg1GhYRz97Y6uPizaTybjLD2P7WhkBRiMz3903N4oE0HNqSin5ff2BTItxL9RngBajdIbW35ynftIZOeuL5HwWRUwG4GRmSan4xQKz0DYjQ6DEIxaRv6G
"
,
"region"
:
"us-east-1"
}
...
...
backend/routes/modules/s3/s3.js
View file @
bd93dee
...
...
@@ -142,10 +142,8 @@ var S3 = {
if
(
result
)
{
makeFolder
(
tempDownloadDir
,
function
(
result
){
if
(
result
)
{
if
(
data
){
fs
.
writeFileSync
(
tempDownloadDir
,
data
);
callback
(
true
,
tempDownloadDir
);
}
fs
.
writeFileSync
(
tempDownloadDir
,
data
);
callback
(
true
,
tempDownloadDir
);
}
})
}
else
{
...
...
Please
register
or
login
to post a comment