Permalink
Browse files

Fixed port and path in simpleUpload example

On branch master
Changes to be committed:
modified:   examples/simple/simpleUpload.js
  • Loading branch information...
1 parent 54bb639 commit f14bdef01072ed43eb76e75321b1800ec2242973 @rootslab rootslab committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/simple/simpleUpload.js
@@ -4,7 +4,7 @@ var http = require( 'http' ),
fs = require( 'fs' ),
server,
log = console.log,
- dir = '/tmp/',
+ dir = '/tmp',
getHtmlForm = function ( req, res, next ) {
if ( req.url === '/test/' ) {
log( ' -> req url :', req.url );
@@ -223,7 +223,7 @@ var http = require( 'http' ),
form = null;
console.log( '\n\033[1;33mHi!, I\'m the callback function!\033[0m' );
},
- port = 3001,
+ port = 3000,
server = connect( getHtmlForm , handleFormRequest );
server.listen( port );

0 comments on commit f14bdef

Please sign in to comment.