Merge branch 'main' into frontend
This commit is contained in:
@ -27,7 +27,7 @@ export class UploadComponent {
|
||||
singleDownload: boolean = false;
|
||||
fileDescription: string = '';
|
||||
passwordProtected: boolean = false;
|
||||
password: string = 'nigga123';
|
||||
password: string = ''; // Generated by the server for only this file
|
||||
|
||||
uploadStarted: boolean = false;
|
||||
uploadProgress = 0; // Real progress
|
||||
@ -96,7 +96,7 @@ export class UploadComponent {
|
||||
|
||||
axios.post(this.developmentStore.getBaseUrl() + 'api/v1/upload', formData, config)
|
||||
.then(response => {
|
||||
console.log('Upload completed successfully:', response.data);
|
||||
console.log('Upload completed successfully!');
|
||||
console.log(response.data);
|
||||
this.uploadFinished = true;
|
||||
})
|
||||
|
@ -13,6 +13,7 @@ export class DevelopmentStore {
|
||||
|
||||
constructor() {
|
||||
this.isDevelopment = location.port === '4200';
|
||||
console.log("Development mode enabled: " + this.isDevelopment);
|
||||
}
|
||||
|
||||
getIsDevelopment(): boolean {
|
||||
|
Reference in New Issue
Block a user