altavir
02/21/2020, 8:45 AMplotly.kt
to newer ktor version and encountered a problem. I need to get a host name from request in order to send a data request to the same server but with different address. Previously I was using call.request.host()
for that, but now for some reason on localhost it returns IP6 adress 0.0.0.0.0.0.0.0, which is not friendly with JS backward requests. Are there any better way to treat this situation?cy
02/21/2020, 8:51 AMcy
02/21/2020, 8:52 AMcall.rrquest.origin.host
altavir
02/21/2020, 8:52 AMcy
02/21/2020, 8:52 AMaltavir
02/21/2020, 8:53 AMaltavir
02/21/2020, 8:54 AMcy
02/21/2020, 8:55 AMcy
02/21/2020, 8:55 AMcy
02/21/2020, 8:56 AMaltavir
02/21/2020, 8:56 AMcy
02/21/2020, 8:57 AMspand
02/21/2020, 8:57 AMaltavir
02/21/2020, 8:57 AMaltavir
02/21/2020, 8:58 AMcy
02/21/2020, 8:58 AMcy
02/21/2020, 8:58 AMcy
02/21/2020, 8:58 AMaltavir
02/21/2020, 8:59 AMaltavir
02/21/2020, 9:04 AM