updating test to not use connect

This commit is contained in:
Ryan Day 2012-06-23 22:29:47 -07:00
parent bbc99b2c90
commit 07c1aea9fc

View file

@ -1,5 +1,5 @@
var QRCode = require(__dirname+'/../qrcode')
, connect = require('connect');
, connect = require('express');
function testQRCode(req, res) {
res.writeHead(200, { 'Content-Type': 'text/html' });
@ -32,4 +32,4 @@ function testQRCode(req, res) {
}
connect.createServer(testQRCode).listen(3030);
console.log('test server started on port 3030');
console.log('test server started on port 3030');