Safe Haskell | None |
---|---|
Language | Haskell2010 |
The definition of the Scotty application, and lauching code the launch code is borrowed from https://github.com/yesodweb/wai/blob/master/wai-handler-launch/Network/Wai/Handler/Launch.hs but we couldn't reuse the library because it injects code to every HTML page, so here it's going to inject the code to HTML code we want to edit my-app.html does the pinging from the client, no need to inject JS code