We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71a6da commit 3ca25caCopy full SHA for 3ca25ca
fileserver/ghost.js
@@ -21,8 +21,8 @@ http.createServer(function(req, res){
21
fileStream.pipe(res);
22
} else if (req.url.match(/.js$/)){
23
24
- var cssPath = path.join(__dirname , '/' , req.url);
25
- var fileStream = fs.createReadStream(cssPath , "UTF-8");
+ var jsPath = path.join(__dirname , '/' , req.url);
+ var fileStream = fs.createReadStream(jsPath , "UTF-8");
26
27
res.writeHead(200 , {"Content-Type":"text/javascript"});
28
@@ -43,4 +43,4 @@ http.createServer(function(req, res){
43
44
}).listen(4000);
45
46
-console.log("ghost server running on port 4000");
+console.log("ghost server running on port 4000");
0 commit comments