diff --git a/package.json b/package.json index 8e45dbb..d26b127 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "custom", "scripts": { "ng": "ng", - "start": "ng build && node ./bin/www", + "start": "ng build && ng serve --port 3000 && node ./bin/www", "build": "ng build --prod", "test": "ng test", "lint": "ng lint", diff --git a/public/5af98f7301e59d329c750187 b/public/5af98f7301e59d329c750187 deleted file mode 100644 index 2f6ee07..0000000 Binary files a/public/5af98f7301e59d329c750187 and /dev/null differ diff --git a/public/5af990b16c58a13a588b5871 b/public/5af990b16c58a13a588b5871 deleted file mode 100644 index 2f6ee07..0000000 Binary files a/public/5af990b16c58a13a588b5871 and /dev/null differ diff --git a/src/app/book/book.component.html b/src/app/book/book.component.html index 7b2de3a..dbddb09 100644 --- a/src/app/book/book.component.html +++ b/src/app/book/book.component.html @@ -1,6 +1,5 @@
-

Path : {{mainFolder.path}}

Vous êtes dans le dossier : {{mainFolder.name}}

diff --git a/src/app/book/book.component.ts b/src/app/book/book.component.ts index 9e9bd2b..e6cbaa2 100644 --- a/src/app/book/book.component.ts +++ b/src/app/book/book.component.ts @@ -23,8 +23,7 @@ export class BookComponent implements OnInit, OnDestroy { fileChooseName: string; httpOptions: any; isClickCreateFolder: boolean; - - inputCreateFolder: String; + inputCreateFolder: String; constructor(private http: HttpClient, private router: Router, private route: ActivatedRoute) { this.isClickCreateFolder = false; @@ -92,7 +91,6 @@ export class BookComponent implements OnInit, OnDestroy { } else { this.allUserFolder = []; } - }); } @@ -118,8 +116,6 @@ export class BookComponent implements OnInit, OnDestroy { }, err => { console.log('errrrr folllder : ' + err); }); - - } } }); @@ -160,7 +156,6 @@ export class BookComponent implements OnInit, OnDestroy { console.error(err); }); } - } fileChangeEvent(fileInput: any){