Merge pull request #821 from SAP-samples/fix-orders-app
Fix xs-app.json routes
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
../bookshop/app/vue
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../orders/app/orders
|
|
||||||
1
app-router/resources/bookshop
Symbolic link
1
app-router/resources/bookshop
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../bookshop/app/vue
|
||||||
1
app-router/resources/orders
Symbolic link
1
app-router/resources/orders
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../orders/app/orders
|
||||||
1
app-router/resources/reviews
Symbolic link
1
app-router/resources/reviews
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../reviews/app/vue
|
||||||
@@ -1 +0,0 @@
|
|||||||
../reviews/app/vue
|
|
||||||
@@ -4,12 +4,7 @@
|
|||||||
{
|
{
|
||||||
"source": "^/app/(.*)$",
|
"source": "^/app/(.*)$",
|
||||||
"target": "$1",
|
"target": "$1",
|
||||||
"localDir": ".",
|
"localDir": "resources",
|
||||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"source": "^/appconfig/",
|
|
||||||
"localDir": ".",
|
|
||||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -41,12 +36,6 @@
|
|||||||
"target": "/reviews/$1",
|
"target": "/reviews/$1",
|
||||||
"destination": "reviews-api",
|
"destination": "reviews-api",
|
||||||
"csrfProtection": true
|
"csrfProtection": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"source": "^(.*)$",
|
|
||||||
"target": "$1",
|
|
||||||
"localDir": ".",
|
|
||||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
description: "CAP Sample App",
|
description: "CAP Sample App",
|
||||||
additionalInformation: "SAPUI5.Component=orders",
|
additionalInformation: "SAPUI5.Component=orders",
|
||||||
applicationType : "URL",
|
applicationType : "URL",
|
||||||
url: "/orders/webapp",
|
url: "webapp",
|
||||||
navigationMode: "embedded"
|
navigationMode: "embedded"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user