Refactor uploader
This commit is contained in:
parent
a1a39778aa
commit
6ec5f456f3
12 changed files with 647 additions and 261 deletions
|
@ -16,9 +16,9 @@ System.config({
|
|||
map: {
|
||||
"angular": "npm:angular@1.5.6",
|
||||
"angular-reconnecting-websocket": "github:adieu/angular-reconnecting-websocket@0.1.1",
|
||||
"angular-strap": "npm:angular-strap@2.3.8",
|
||||
"angular/resource": "npm:angular-resource@1.5.6",
|
||||
"angular/route": "npm:angular-route@1.5.6",
|
||||
"angular-strap": "npm:angular-strap@2.3.8",
|
||||
"babel": "npm:babel-core@5.8.38",
|
||||
"babel-runtime": "npm:babel-runtime@5.8.38",
|
||||
"bootstrap-sass": "npm:bootstrap-sass@3.3.6",
|
||||
|
|
|
@ -39,7 +39,7 @@ export function* get() {
|
|||
let remotePath = path.join(file._id[0], file._id + '_' + file.file_name);
|
||||
if (this.params.size > 0) {
|
||||
localPath = path.join(storePath, file._id[0], this.params.size, file._id + '_' + file.file_name);
|
||||
remotePath = path.join(this.params.size, file._id + '_' + file.file_name);
|
||||
remotePath = path.join(file._id[0], this.params.size, file._id + '_' + file.file_name);
|
||||
}
|
||||
|
||||
if (file.malware) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue