From 69f13a6ec8ce355566b345f3847b53eb2feeae9e Mon Sep 17 00:00:00 2001 From: Gregor Wolf Date: Wed, 26 Jul 2017 23:56:00 +0200 Subject: [PATCH] Enable CORS --- odatapublic/.xsaccess | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/odatapublic/.xsaccess b/odatapublic/.xsaccess index b22307f..a757d8d 100644 --- a/odatapublic/.xsaccess +++ b/odatapublic/.xsaccess @@ -3,5 +3,8 @@ "force_ssl" : true, "prevent_xsrf" : true, "anonymous_connection" : "com.sap.sapmentors.sitreg.odatapublic::public", - "default_file": "EventsRead.xsjs" -} \ No newline at end of file + "default_file": "EventsRead.xsjs", + "cors": { + "enabled" : true + } +}