Explorar o código

Small fix to use new keyword messaging convention for calling js methods.

Göran Krampe %!s(int64=13) %!d(string=hai) anos
pai
achega
d790c2caf0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nodejs/trivialserver/TrivialServer.st

+ 1 - 1
nodejs/trivialserver/TrivialServer.st

@@ -34,7 +34,7 @@ start
 	    res end: (self process: req)].
 
         (http createServer: block)
-                listen: #(1337 '127.0.0.1').
+                listen: 1337 host: '127.0.0.1'.
         console log: 'TrivialServer running at http://127.0.0.1:1337/'
 ! !