pterodactor3000 / dmhub-web

Web access to DMHub repository https://github.com/davewx7/dmhub-wiki/wiki
https://hazel-delight-288708.oa.r.appspot.com/
MIT License
1 stars 0 forks source link

Resolve CORS policy issues #5

Closed pterodactor3000 closed 2 years ago

pterodactor3000 commented 2 years ago

Access to XMLHttpRequest at 'https://us-central1-dmtool-cad62.cloudfunctions.net/query?gameid=LittleEpicTemperamentalElf&pretty=true' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

pterodactor3000 commented 2 years ago

@davewx7 Can we do some cors policy for this? I think I need you to allow either localhost or maybe some hosting service for that, bit for developmwnt purpouses the localhost would be sufficient for now

edit: typo

pterodactor3000 commented 2 years ago

CORS policy set on API side.