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-05 22:48:39 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
29af7c4ba7ef7a8d8c0d5a6e52551ba24db907d3
29af7c4b
2 parents
ca3166de
4997a81f
.
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
7 deletions
.gitignore
backend/routes/modules/awsconfig.json
backend/routes/modules/s3/download/kbpark9898/test.txt
backend/routes/modules/s3/download/kbpark9898/test4.txt
backend/routes/modules/s3/download/kbpark9898/test6.txt
backend/routes/modules/s3/s3.js
front-end/src/components/FileList.vue
.gitignore
View file @
29af7c4
...
...
@@ -115,4 +115,4 @@ dist
.yarn/install-state.gz
.pnp.*
backend/routes/modules/s3/download/
\ No newline at end of file
backend/routes/modules/s3/download/*
\ No newline at end of file
...
...
backend/routes/modules/awsconfig.json
View file @
29af7c4
{
"accessKeyId"
:
"ASIA
ZQ5XTMMFUHLZZ4M2
"
,
"secretAccessKey"
:
"
0et6RCcKOQtE9uZLw4c4WTBkvoLhnfyF/gu+Izi+
"
,
"sessionToken"
:
"FwoGZXIvYXdzE
E8aDC4plMfgaXo81Tt/QyLDASYTNLXjU0qWi+IAmgwl5sAMu6DPqCjeEWO4W22bSYhD178WdC/y8uz35EGd/pf5aRORKj71TiR6CsoxcEO8lW4VsN/Fdq8PfHbb5zuVqkILOtsBoAdR2/XvG3wHTqvx7LHMrFpUsgTjQkXAws7IiKV6siQrTS/p5lSmV8HZsekDktvnI+E+DkQrcvWy/BoGDJxXlpGsGZzIers2MjqzmgszC0CjTglw7aMKWriwIyhkUjo9ewIzIalCQUzk3Lr8mshmfCjOjOn2BTIt3OSehGo0BMhqYmik1RkykXo2bOqIWeZWS2lmb7Oa8GSqOcLDI4NRKgkLZ+1q
"
,
"accessKeyId"
:
"ASIA
XZL2SWFEYG2GUYVJ
"
,
"secretAccessKey"
:
"
ceYvfLs25iiBDfigO7PbP67kJoKswJdfduqROrJt
"
,
"sessionToken"
:
"FwoGZXIvYXdzE
DMaDGvezwF9kQrAJ+uhfSLDASWFKBk7UNbRzZVEM1eoGJ3E+UI9d4xSpqEDqRYjsOTn5wYIGM3mUCZ8S6/XCnGP5yFz+qv9mBLDf311iP9ajY091OhQ8c2nB6l+JHuRKAz6FhGLrjHtD1AecHtjHOu5dXODU2+9ctvGj7V60KYqjToah5Tvv84EVac/41Les3rtrqcXS/bbmVwv5kDz9K1FJStln4sXZ/foueGHZAkAJQ6LAtIQWg4/reFUcWAi8E0bUjMckmymDQhnVNWcSbgQ+htBYiiPg+P2BTItOqWuZojM5lw32rTv7+PuOaeyHjx3+Vcd4bo3orSJr57P2ZPfmglZNKY7W5aw
"
,
"region"
:
"us-east-1"
}
...
...
backend/routes/modules/s3/download/kbpark9898/test.txt
0 → 100644
View file @
29af7c4
asdf
\ No newline at end of file
backend/routes/modules/s3/download/kbpark9898/test4.txt
0 → 100644
View file @
29af7c4
File mode changed
backend/routes/modules/s3/download/kbpark9898/test6.txt
0 → 100644
View file @
29af7c4
File mode changed
backend/routes/modules/s3/s3.js
View file @
29af7c4
...
...
@@ -16,7 +16,7 @@
var
AWS
=
require
(
'aws-sdk'
);
AWS
.
config
.
update
({
region
:
'ap-northeast-2'
});
var
BUCKET_NAME
=
'
d
khuloud'
;
var
BUCKET_NAME
=
'khuloud'
;
var
s3
=
new
AWS
.
S3
();
var
fs
=
require
(
'fs'
);
...
...
front-end/src/components/FileList.vue
View file @
29af7c4
...
...
@@ -98,10 +98,10 @@
</v-list-item-content>
<v-list-item-action>
<v-btn icon @click="download_file(item.file_name)">
<v-icon color="grey lighten-1">mdi-
information
</v-icon>
<v-icon color="grey lighten-1">mdi-
download
</v-icon>
</v-btn>
<v-btn icon @click="delete_file(item.file_name)">
<v-icon color="grey lighten-1">mdi-delete
d
</v-icon>
<v-icon color="grey lighten-1">mdi-delete</v-icon>
</v-btn>
</v-list-item-action>
</v-list-item>
...
...
Please
register
or
login
to post a comment