Bladeren bron

Correcciones

Oscar José Nuñez Chávez 5 jaren geleden
bovenliggende
commit
5c233ef982

+ 1 - 2
src/app/components/investment-proposals/change-history/change-history.component.ts

@@ -54,9 +54,8 @@ export class ChangeHistoryComponent implements OnInit {
       .getProposalInvestment(this.investmentProposalID)
       .subscribe(
         res => {
-          this.fileDownload = environment.productionApiUrl;
+          this.fileDownload = environment.productionMediaUrl;
           this.investmentCode = res["result"]["codigo_inversion"];
-          console.log(this.fileDownload);
         },
         err => {}
       );

+ 2 - 1
src/environments/environment.prod.ts

@@ -1,4 +1,5 @@
 export const environment = {
   production: true,
-  productionApiUrl: "http://192.168.98.146:8000/api"
+  productionApiUrl: "http://192.168.98.146:8000/api",
+  productioMediaUrl: "http://192.168.98.146:8000"
 };

+ 2 - 1
src/environments/environment.ts

@@ -4,7 +4,8 @@
 
 export const environment = {
   production: false,
-  productionApiUrl: "http://192.168.98.140:8000/api"
+  productionApiUrl: "http://192.168.98.140:8000/api",
+  productionMediaUrl: "http://192.168.98.140:8000"
   //productionApiUrl: "https://denmark.inverlec.solar/api/v1"
 };