Deploy test
This commit is contained in:
1
bookshop/app/index.html
Normal file
1
bookshop/app/index.html
Normal file
@@ -0,0 +1 @@
|
||||
Hello World
|
||||
3749
bookshop/app/package-lock.json
generated
Normal file
3749
bookshop/app/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
bookshop/app/package.json
Normal file
9
bookshop/app/package.json
Normal 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
19
bookshop/app/xs-app.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user