# example.nim
import jester, asyncdispatch, htmlgen
routes:
get "/":
resp h1("Hello world")
runForever()
This example,nim run normally in version 0.12,but can't browse. There is no problem in version 0.11.2.Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
uname -a Linux zgz306-pc 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
and win7
Same issue here after a compiler update.
You just need to reinstall jester.
nimble install jester
After this it worked again.
In Nim mingw lacks ws2tcpip.h file!