Ktor Version and Engine Used (client or server and name)
Ktor Client Common 1.3.1, in browser (JS)
Describe the bug
request to /example requests http://localhost/example
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/Ribesg/Kita
cd Kita
git reset --hard 2c7941183ebcde1fc2193bd00a1bed53f1249b10
./runServer.shhttps://yourserver:12345https://localhost/api/auth/login instead of https://yourserver:12345/api/auth/login in the consoleExpected behavior
Requests should use the current location.origin when none is provided in the browser
Hi @Ribesg, thanks for the report. I'll be fixed in the next minor release
For anyone else looking, this bug is still present in 1.3.2. :)
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Most helpful comment
Hi @Ribesg, thanks for the report. I'll be fixed in the next minor release