Tj Holowaychuk 14 years ago
parent
commit
06a5a4463a
  1. 8
      Readme.md
  2. 2
      test/server.js

8
Readme.md

@ -77,6 +77,14 @@ Test:
$ make test
There is also a test image server which can be used for visual test verification:
$ node test/server.js
or provide a port:
$ sudo node test/server.js 80
## License
(The MIT License)

2
test/server.js

@ -11,7 +11,7 @@ var args = process.argv.slice(2)
? parseInt(args[0], 10)
: 3000;
var images = fs.readdirSync(__dirname + '/images').slice(1).sort();
var images = fs.readdirSync(__dirname + '/images').sort();
function ul(items) {
var buf = '<ul>';

Loading…
Cancel
Save