api call pfad und base href angepasst
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 45s
All checks were successful
Angular Build & Deploy / deploy (push) Successful in 45s
This commit is contained in:
@@ -98,7 +98,7 @@ export class Produktbaum {
|
|||||||
meldungen : Meldung[] = []
|
meldungen : Meldung[] = []
|
||||||
aprioriProdukte : Produktbaustein[] = [];
|
aprioriProdukte : Produktbaustein[] = [];
|
||||||
apriori(){
|
apriori(){
|
||||||
this.http.post<any[]>('/api/ProductsRequest', { "stichtag": "2022-02-11" })
|
this.http.post<any[]>('/produktApi/ProductsRequest', { "stichtag": "2022-02-11" })
|
||||||
.subscribe(result => {
|
.subscribe(result => {
|
||||||
this.produkte = [];
|
this.produkte = [];
|
||||||
this.attribute = [];
|
this.attribute = [];
|
||||||
@@ -644,7 +644,7 @@ export class Produktbaum {
|
|||||||
async calculate(verkaufsprodukt: Produktbaustein) {
|
async calculate(verkaufsprodukt: Produktbaustein) {
|
||||||
const request = (await this.modelToJsonld(await this.buildRDFModel(verkaufsprodukt)));
|
const request = (await this.modelToJsonld(await this.buildRDFModel(verkaufsprodukt)));
|
||||||
this.produkte = [];
|
this.produkte = [];
|
||||||
this.http.post<any[]>('/api/CalculateRequest', request )
|
this.http.post<any[]>('/produktApi/CalculateRequest', request )
|
||||||
.subscribe(result => {
|
.subscribe(result => {
|
||||||
this.produkte = [];
|
this.produkte = [];
|
||||||
this.attribute = [];
|
this.attribute = [];
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>OMDSAngularWebClient</title>
|
<title>OMDSAngularWebClient</title>
|
||||||
<base href="/produkt/">
|
<base href="/">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user