updating test to not use connect
This commit is contained in:
parent
bbc99b2c90
commit
07c1aea9fc
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue