near/bos-loader

CORS issue

empeje opened this issue · 5 comments

Hi I'm currently hacking with Encode Club in their Aurora hackathon and I have issue using bos-loader. It gives me CORS issue everytime.

Screenshot 2023-06-25 at 10 23 32

can you confirm that the bos-loader payload is accessible at http:127.0.0.1:3030? This can be done via Postman or in your shell with
curl http://127.0.0.1:3030

I've noticed bos-loader does not work in Brave -- switching to Chrome resolves this issue for me

empeje commented

I try in curl it works, but not in brave (as @elliotBraem mentioned).

I had the same problem on both Chrome and firefox, using bos-loader v0.7.0 installed with "brew tap empeje/bos-cli && brew install bos-loader".
It was giving me cors error and saying that my widget could not be found.
The thing that fixed the issue for me was revert brew tap and brew install and used the curl command from : https://github.com/near/bos-loader/releases/tag/v0.7.1

Now have CORS issues only in safari (Version 16.6). In chromium browsers works just fine!
Screenshot 2023-08-29 at 12 16 36
Screenshot 2023-08-29 at 12 16 58