Browse Source

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

Göran Krampe 13 years ago
parent
commit
d790c2caf0
1 changed files with 1 additions and 1 deletions
  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/'
 ! !