Open WingsDevelopment opened 5 months ago
I'm having the same issue. For some reason this same "No 'Access-Control-Allow-Origin' header" error has been popping up since very recently and hasn't stopped appearing since, making us unable to make use of the alpha router. Please look into this!
I'm having the same issue. For some reason this same "No 'Access-Control-Allow-Origin' header" error has been popping up since very recently and hasn't stopped appearing since, making us unable to make use of the alpha router. Please look into this!
Did you manage to solve this somehow ? :(
I did actually find a workaround for this specific issue - If you have a back-end, import the package there and let the front-end make get requests to the back-end in order to obtain routes using the alpha router. This resolved the issue for me. Hope it helps!
I did actually find a workaround for this specific issue - If you have a back-end, import the package there and let the front-end make get requests to the back-end in order to obtain routes using the alpha router. This resolved the issue for me. Hope it helps!
I tried this for me it doesn't work. i can't initialize alpha router on backend side... i get this problem: https://github.com/Uniswap/smart-order-router/issues/523
I'm submitting a ... [ x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
I am trying to implement swap form with uniswap SDK, but i am getting CORS error.
here is my code (mostly copied from uniswap repo):
here is error that i am getting: