React InstantSearch SSR returns network errors

I am setting up an SSR following this example https://github.com/algolia/react-instantsearch/tree/master/packages/react-instantsearch/examples/server-side-rendering
I was able to get data needed for resultsState, but in the client there is nothing shown instead I got these errors on console
Screenshot from 2018-03-20 16-38-05
It seems the client is trying to make a request to algolia server but fails due to cors (from the preflight thingy)? Any help appreciated. Cheers.