neko
neko copied to clipboard
mod_neko - Client IP is 0.0.0.0, and Sys.println() doesn't prints a new line
Hey!
I've just tried mode_neko, and it's awesome! I really fall in love with the Neko ecosystem. I have two issues though:
- When using Haxe API method,
neko.Web.getClientIP()
, it always returns 0.0.0.0. - I think,
Sys.println()
should append a HTML newline after the printed string.
Thanks!
Regarding IP bug, which webserver / platform / neko version are you using?
Regarding Sys.println, it does add a newline but it's different from html <br/>
, you can change your mime type to text/plain if you prefer.
@ncannasse I'm using Apache 2.4.10 on Raspbian, with Neko 2.0.0.
@fulopm did you have some cache web-server before apache? maybe nginx?
Nope, I didn't.