* chore: moving app-router and mta.yaml to .deploy folder? * reverted mta.yaml in .deploy * chore: update package-lock.json * Added guide about Micro Services with CAP * updated package-lock.json * Leaving mta.yaml in root * . * . * . * Remove Micro Services with CAP documentation
42 lines
951 B
JSON
42 lines
951 B
JSON
{
|
|
"welcomeFile": "app/bookshop/index.html",
|
|
"routes": [
|
|
{
|
|
"source": "^/app/(.*)$",
|
|
"target": "$1",
|
|
"localDir": "resources",
|
|
"cacheControl": "no-cache, no-store, must-revalidate"
|
|
},
|
|
{
|
|
"source": "^/admin/(.*)$",
|
|
"target": "/admin/$1",
|
|
"destination": "bookstore-api",
|
|
"csrfProtection": true
|
|
},
|
|
{
|
|
"source": "^/browse/(.*)$",
|
|
"target": "/browse/$1",
|
|
"destination": "bookstore-api",
|
|
"csrfProtection": true
|
|
},
|
|
{
|
|
"source": "^/user/(.*)$",
|
|
"target": "/user/$1",
|
|
"destination": "bookstore-api",
|
|
"csrfProtection": true
|
|
},
|
|
{
|
|
"source": "^/odata/v4/orders/(.*)$",
|
|
"target": "/odata/v4/orders/$1",
|
|
"destination": "orders-api",
|
|
"csrfProtection": true
|
|
},
|
|
{
|
|
"source": "^/reviews/(.*)$",
|
|
"target": "/reviews/$1",
|
|
"destination": "reviews-api",
|
|
"csrfProtection": true
|
|
}
|
|
]
|
|
}
|