File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22
33Angular 2+ File Uploader
44
5- http ://ngx-uploader.com
5+ https ://ngx-uploader.petadev.work
66
77#### <a name =" question " ></a > Got a Question or Problem?
88
@@ -168,7 +168,7 @@ startUpload(): void {
168168 let token = this .myToken ; // <---- get token
169169 const event: UploadInput = {
170170 type: ' uploadAll' ,
171- url: ' http://ngx-uploader.com /upload' ,
171+ url: ' http://ngx-uploader.petadev.work /upload' ,
172172 method: ' POST' ,
173173 headers: { ' Authorization' : ' JWT ' + token }, // <---- set headers
174174 data: { foo: ' bar' },
@@ -252,7 +252,7 @@ export class AppHomeComponent {
252252 startUpload(): void {
253253 const event: UploadInput = {
254254 type: ' uploadAll' ,
255- url: ' http://ngx-uploader.com /upload' ,
255+ url: ' http://ngx-uploader.petadev.work /upload' ,
256256 method: ' POST' ,
257257 data: { foo: ' bar' }
258258 };
Original file line number Diff line number Diff line change 11{
22 "name" : " @angular-ex/uploader" ,
3- "version" : " 14 .0.2 " ,
4- "homepage" : " https://ngx-uploader.com " ,
3+ "version" : " 15 .0.0 " ,
4+ "homepage" : " https://ngx-uploader.petadev.work " ,
55 "repository" : {
66 "type" : " git" ,
77 "url" : " git+https://github.com/angular-ex/uploader.git"
1313 "license" : " MIT" ,
1414 "keywords" : [
1515 " angular" ,
16+ " angular-components" ,
17+ " angular-library" ,
1618 " angular-upload" ,
1719 " angular-uploader" ,
1820 " angular-upload-component" ,
3537 "url" : " https://github.com/angular-ex/uploader/issues"
3638 },
3739 "peerDependencies" : {
38- "@angular/common" : " >= 14 .0.0" ,
39- "@angular/core" : " >= 14 .0.0"
40+ "@angular/common" : " >= 15 .0.0" ,
41+ "@angular/core" : " >= 15 .0.0"
4042 },
4143 "dependencies" : {
4244 "tslib" : " ^2.0.0"
You can’t perform that action at this time.
0 commit comments