diff --git a/.deploy/app-router/xs-app.json b/.deploy/app-router/xs-app.json index 02a1f80..44c3abc 100644 --- a/.deploy/app-router/xs-app.json +++ b/.deploy/app-router/xs-app.json @@ -13,12 +13,6 @@ "destination": "bookstore-api", "csrfProtection": true }, - { - "source": "^/browse/(.*)$", - "target": "/browse/$1", - "destination": "bookstore-api", - "csrfProtection": true - }, { "source": "^/user/(.*)$", "target": "/user/$1", @@ -38,8 +32,8 @@ "csrfProtection": true }, { - "source": "^/rest/catalog/(.*)$", - "target": "/rest/catalog/$1", + "source": "^/rest/browse/(.*)$", + "target": "/rest/browse/$1", "destination": "bookstore-api", "csrfProtection": true }, diff --git a/.github/workflows/cf.yaml b/.github/workflows/cf.yaml index a655c83..ecedcce 100644 --- a/.github/workflows/cf.yaml +++ b/.github/workflows/cf.yaml @@ -40,6 +40,7 @@ jobs: username: ${{ vars.CF_USERNAME }} password: ${{ secrets.CF_PASSWORD }} - run: npm install + - run: cd bookstore && npm add @sap-cloud-sdk/http-client@^4 - run: npx cds up - run: cf logs ${{ env.APP_NAME }} --recent