Created
June 8, 2012 08:13
-
-
Save zoek1/2894425 to your computer and use it in GitHub Desktop.
Servidor de nodejs con coffescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Servidor = require 'http' | |
Servidor.createServer (peticion,respuesta) -> | |
respuesta.writeHead(200 , "Constent-type" : "text/html") | |
respuesta.end("<h1> hola mundo </h1>") | |
.listen(3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment