Forum Post: RE: Mobile app call to Rollbase Private Cloud REST service encountering CORS error

  • Thread starter Thread starter sduggi
  • Start date Start date
Status
Not open for further replies.
S

sduggi

Guest
Hi , In Rollbase Private cloud instance, If the mobile app files are hosted in a different domain then you need to add the CORS regluar expression in shared.properties RBMobile_CORS.Allow_origin.HOST = %RBMobileCORSOriginRegx% RBMobileCORSOriginRegx value should be a regular expression that matches the Origin of the header of the request. Example: If the Mobile app is hosted on abc.test.com domain, then RBMobileCORSOriginRegx should be like .*test\\.abc\\.com$ Hope this helps you.

Continue reading...
 
Status
Not open for further replies.
Back
Top