Update to have a configuration file out of the
app bundle.
This commit is contained in:
@@ -25,10 +25,9 @@ export class AircraftService extends BaseService {
|
||||
imageData: dataImg
|
||||
};
|
||||
|
||||
this.http
|
||||
.post(`${this.apiUrl}/Aircraft`, bodyNewAircraft, {
|
||||
headers: this.headers
|
||||
})
|
||||
.subscribe(data => console.log(data));
|
||||
this.http.post(`${this.apiUrl}/Aircraft`,
|
||||
bodyNewAircraft,
|
||||
{ headers: this.headers })
|
||||
.subscribe(data => console.log(data));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user