Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cors error when pass url in link #210

Open
bhagwansawant123 opened this issue Sep 27, 2022 · 3 comments
Open

Cors error when pass url in link #210

bhagwansawant123 opened this issue Sep 27, 2022 · 3 comments

Comments

@bhagwansawant123
Copy link

bhagwansawant123 commented Sep 27, 2022

When I try to load audio and JSON file from the URL it gives an error. See my URL http://localhost:4000/?save_mode=server&audio=http://localhost:8080/s3_files/file.mp3&json=http://localhost:8080/s3_files/annotation_1.json This gives the error Loading the file has failed, open console for more details.

@bhagwansawant123 bhagwansawant123 changed the title Vue JS integration Cors error when pass url in link Sep 30, 2022
@rotem-1996
Copy link
Collaborator

Since you're running in local host with your own s3 account, I cannot recreate your issue, however if it's a cors error the problem should be with your s3 configuration

@bhagwansawant123
Copy link
Author

@rotem-1996 I added the assets folder at the root and trying to access file from that folder using http://localhost:4000/assets/output.json this URL but the browser says Cannot GET /assets/output.json

@rotem-1996
Copy link
Collaborator

Could you share an image of the configuration in s3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants