Describe the bug
When sending a request to the ipfs http api from a chrome browser you get the following CORS error:
Access to fetch at 'https://dev.api.ipfs.temporal.cloud/api/v0/add?stream-channels=true' from origin 'http://localhost:3000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:3000, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
It appears that the header is being assigned twice and should just be assigned *.
To Reproduce
Steps to reproduce the behavior:
send a request from a chrome browser to /api/v0/add endpoint
In the Developer Tools Console in the browser
Scroll down to '....'
See error
Screen Shots
Response headers
Console Warning
Additional context
This does not appear to be an issue with Firefox which I can still get a 200 Ok response code. I have not tested on other browsers yet.
Describe the bug When sending a request to the ipfs http api from a chrome browser you get the following CORS error:
It appears that the header is being assigned twice and should just be assigned
*
.To Reproduce Steps to reproduce the behavior:
/api/v0/add
endpointScreen Shots Response headers
Console Warning
Additional context This does not appear to be an issue with Firefox which I can still get a
200 Ok
response code. I have not tested on other browsers yet.