How to add CORS to solve web Access-Control-Allow-Origin: *?

125 views
Skip to first unread message

AndyHuai

unread,
Mar 25, 2018, 11:07:25 PM3/25/18
to Seaweed File System
In the web, I upload a file,
Failed to load http://127.0.0.1:9333/dir/assign: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://0.0.0.0:8000' is therefore not allowed access.

What should I do to solve this ?
help me,thx

Chris Lu

unread,
Mar 26, 2018, 1:56:17 AM3/26/18
to seaw...@googlegroups.com
Maybe use nginx in front of SeaweedFS.
--
You received this message because you are subscribed to the Google Groups "Seaweed File System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seaweedfs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages