https://kotlinlang.org logo
#ktor
Title
# ktor
n

Nikky

10/27/2020, 3:49 PM
i am getting
Fail to fetch
in browser tests to localhost seems to be somehow
Access-Control-Allow-Origin
related
can i ignore this or force the browser to ignore this with ktor-client ?
r

Rescribet

10/27/2020, 4:37 PM
Yes, you should be able to do that (for chrome) by starting it with the
--disable-web-security
flag (see https://stackoverflow.com/questions/35432749/disable-web-security-in-chrome-48)
5 Views