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