Open lawrenceching opened 6 years ago
This could be fixed with cors, but normally app runner home is hosted on an app runner instance so it just works. Out of interest, can you explain what you are doing in this case?
I'm playing with App Runner to host some service that really helpful for myself. I always write some tiny project to serve myself and deploy it to server is not an easy task(compare with App Runner).
What I'm going to do is to test whether or not I can access those admin API via open Internet access, for security reason.
But now I've blocked that my projects are Gradle based and App Runner doesn't support gradle atm.
API page displayed abnormally and said "Can't read from server. It may not have the appropriate access-control-origin settings."
URL: http://hk1.imlc.me/app-runner-home/docs/api.html#/Application
Seems it's a CORS problem? Where can I configure the domain name I used? I only used the sample config file and export M2_HOME in my profile.
Hope for your advice