skip to Main Content

Flutter web : How to fix CORS Error fo Google Apis

In web Flutter app hosted on Firebase Hosting, I try to make some Google Api calls. Like this : https://maps.googleapis.com/maps/api/place/autocomplete/json?input=tre&types=address&key=XXXXXXXXXX&sessiontoken=YYYYYYYYYYYYY&language=fr-FR&components=country%3Afr I already try to configure cors for Firebase Hosting, it works for images downloaded from Firebase Storage, but do not…

VIEW QUESTION

Laravel – Cross-Origin Request Blocked: CORS issue when accessing external resources on an external device, despite working locally

I get the following error messages Cross-Origin Request Blocked: The Same Origin Policy does not allow reading the external resource at http://localhost:5173/resources/js/app.js. (Reason: CORS request failed). Status code: (null). Source URI of module is not allowed in this document: 'http://localhost:5173/resources/js/app.js'.…

VIEW QUESTION
Back To Top
Search