|
@@ -8,7 +8,7 @@ http.createServer((req, res) => {
|
|
|
let url = req.url;
|
|
|
if(url.indexOf("/blog") != -1)
|
|
|
{
|
|
|
- let proc = ps.exec("blog.sh");
|
|
|
+ let proc = ps.exec("./blog.sh");
|
|
|
proc.stdout.pipe(process.stdout);
|
|
|
proc.stderr.pipe(process.stderr);
|
|
|
res.end("ok");
|