semi-correction #470
This commit is contained in:
		| @@ -30,7 +30,7 @@ app.configure(function() { | |||||||
| }); | }); | ||||||
|  |  | ||||||
| app.get("/", function(req, res) { | app.get("/", function(req, res) { | ||||||
| 	res.writeHead(200, {'Content-Type': 'text/html'}) | 	res.writeHead(200, {'Content-Type': 'text/html'}); | ||||||
| 	fs.createReadStream(opts.baseDir + '/index.html').pipe(res); | 	fs.createReadStream(opts.baseDir + '/index.html').pipe(res); | ||||||
| }); | }); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -30,7 +30,7 @@ app.configure(function() { | |||||||
| }); | }); | ||||||
|  |  | ||||||
| app.get("/", function(req, res) { | app.get("/", function(req, res) { | ||||||
| 	res.writeHead(200, {'Content-Type': 'text/html'}) | 	res.writeHead(200, {'Content-Type': 'text/html'}); | ||||||
| 	fs.createReadStream(opts.baseDir + '/index.html').pipe(res); | 	fs.createReadStream(opts.baseDir + '/index.html').pipe(res); | ||||||
| }); | }); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user