From bfe0c831d6d9b3ab580a1898f8f9616f0bfe492b Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Mon, 28 Mar 2022 13:23:57 +0200 Subject: [PATCH] Relative Fiori dataSource URLs Since this is what 'real' Fiori apps use as well, to allow serving from FLP. CDS's fiori helper takes care that they work w/o FLP as well. --- fiori/app/admin-authors/webapp/manifest.json | 2 +- fiori/app/admin-books/webapp/manifest.json | 2 +- fiori/app/browse/webapp/manifest.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fiori/app/admin-authors/webapp/manifest.json b/fiori/app/admin-authors/webapp/manifest.json index f721b11d..38146256 100644 --- a/fiori/app/admin-authors/webapp/manifest.json +++ b/fiori/app/admin-authors/webapp/manifest.json @@ -11,7 +11,7 @@ }, "dataSources": { "AdminService": { - "uri": "/admin/", + "uri": "admin/", "type": "OData", "settings": { "odataVersion": "4.0" diff --git a/fiori/app/admin-books/webapp/manifest.json b/fiori/app/admin-books/webapp/manifest.json index 1cac7ab1..e3e095cb 100644 --- a/fiori/app/admin-books/webapp/manifest.json +++ b/fiori/app/admin-books/webapp/manifest.json @@ -8,7 +8,7 @@ "i18n": "i18n/i18n.properties", "dataSources": { "AdminService": { - "uri": "/admin/", + "uri": "admin/", "type": "OData", "settings": { "odataVersion": "4.0" diff --git a/fiori/app/browse/webapp/manifest.json b/fiori/app/browse/webapp/manifest.json index f6f9b348..2fcf7676 100644 --- a/fiori/app/browse/webapp/manifest.json +++ b/fiori/app/browse/webapp/manifest.json @@ -11,7 +11,7 @@ }, "dataSources": { "CatalogService": { - "uri": "/browse/", + "uri": "browse/", "type": "OData", "settings": { "odataVersion": "4.0" @@ -32,7 +32,7 @@ "renameTo": "ID" }, "Authors.books.ID": { - "renameTo": "ID" + "renameTo": "ID" } }, "additionalParameters": "ignored"