lexlfav10Original post
Web Developer
I have a javascript file in the storage bucket and I used the view endpoint in an src attribute of a <script> tag. But I am getting the net::ERR_BLOCKED_BY_ORB error in Chrome. I have set the hostname to * in the platforms for the project. What am I doing wrong?
Summary
Developers are experiencing CORS errors when trying to load a JavaScript file from a storage bucket using the view endpoint in a `<script>` tag. The error `net::ERR_BLOCKED_BY_ORB` is occurring in Chrome. The issue might be due to the incorrect configuration of the CORS policy on the storage bucket. Check and ensure that the CORS policy includes the necessary permissions to allow the specific origin from where the script is being loaded.