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

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