deploy bookshop
This commit is contained in:
2329
app/router/package-lock.json
generated
Normal file
2329
app/router/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
12
app/router/package.json
Normal file
12
app/router/package.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "approuter",
|
||||
"dependencies": {
|
||||
"@sap/approuter": "^17.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node node_modules/@sap/approuter/approuter.js"
|
||||
}
|
||||
}
|
||||
21
app/router/xs-app.json
Normal file
21
app/router/xs-app.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"source": "^/app/(.*)$",
|
||||
"target": "$1",
|
||||
"localDir": ".",
|
||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||
},
|
||||
{
|
||||
"source": "^/appconfig/",
|
||||
"localDir": ".",
|
||||
"cacheControl": "no-cache, no-store, must-revalidate"
|
||||
},
|
||||
{
|
||||
"source": "^/(.*)$",
|
||||
"target": "$1",
|
||||
"destination": "bookshop-api",
|
||||
"csrfProtection": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user