Deploy test

This commit is contained in:
Christian Georgi
2022-03-23 16:58:52 +01:00
parent cad615a662
commit 7f9474244b
10 changed files with 6352 additions and 3 deletions

1
bookshop/app/index.html Normal file
View File

@@ -0,0 +1 @@
Hello World

3749
bookshop/app/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
{
"name": "approuter",
"dependencies": {
"@sap/approuter": "^10"
},
"scripts": {
"start": "node node_modules/@sap/approuter/approuter.js"
}
}

19
bookshop/app/xs-app.json Normal file
View File

@@ -0,0 +1,19 @@
{
"welcomeFile": "/app/index.html",
"authenticationMethod": "route",
"routes": [
{
"source": "^/app/(.*)$",
"cacheControl": "no-cache, no-store, must-revalidate",
"target": "$1",
"localDir": ".",
"authenticationType": "xsuaa"
},
{
"source": "^/api/(.*)$",
"destination": "srv-api",
"authenticationType": "xsuaa",
"target": "$1"
}
]
}