deploy bookshop

This commit is contained in:
Vladislav Leonkev
2024-12-09 15:44:55 +01:00
parent 32bc0ab94f
commit 1a0df4d31d
11 changed files with 5972 additions and 3215 deletions

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
View 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
View 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
}
]
}