interface icon indicating copy to clipboard operation
interface copied to clipboard

Quote blocked by Cors policy in build

Open ubuntutest opened this issue 3 years ago • 9 comments
trafficstars

I am getting a CORS error, I have tried from version 4.65.0 up to the latest.

Token to test: 0xb53ecf1345cabee6ea1a65100ebb153cebcac40f

It happens after creating the build with yarn build. If I try with yarn start, in development it works correctly.

Immagine 2022-05-20 025353

ubuntutest avatar May 20 '22 00:05 ubuntutest

Anyone know how to fix this?

ubuntutest avatar May 25 '22 12:05 ubuntutest

is there no interest?

ubuntutest avatar Jun 01 '22 01:06 ubuntutest

I tried with the latest version, now it goes with some tokens and with others it doesn't.

The token test now works, but if I try with KISHU / FLOKI / KLEE I always encounter the CORS problem

ubuntutest avatar Jun 05 '22 22:06 ubuntutest

if ever you are interested in this bug, I inform you that version 4.22.1 works without problems, I did a nice downgrade

ubuntutest avatar Jun 05 '22 23:06 ubuntutest

version 4.22 does not work with mobile metamask, I also tried with 4.16 before integrating the routing api

Either there is the CORS problem, or it does not work from the mobile metamask browser for android, the tokens in the swap do not load, the preloader remains indefinitely, or the word "connect the wallet" remains without ever being able to connect

it would be interesting to have a response from the developers

ubuntutest avatar Jun 09 '22 13:06 ubuntutest

@ubuntutest, did you ever find a resolution to this issue? I'm seeing the same problem

ajlamarc avatar Jun 17 '23 18:06 ajlamarc

I'm using a very old version, now I can't remember which one. I'm afraid uniswap is becoming more and more closed source, see how they are organizing themselves with uniswap v4. however it would be interesting to have feedback from the dev team

ubuntutest avatar Jun 20 '23 18:06 ubuntutest

I'm using a very old version, now I can't remember which one. I'm afraid uniswap is becoming more and more closed source, see how they are organizing themselves with uniswap v4. however it would be interesting to have feedback from the dev team

I also was able to get 4.22.1 working, thanks for the old suggestion. It may be worth maintaining a fork

ajlamarc avatar Jun 20 '23 22:06 ajlamarc