Muthu Kumar
7 years ago
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||
|
var express = require('express') |
||||
|
var php = require("./php") |
||||
|
const config = require('./config') |
||||
|
|
||||
|
var app = express() |
||||
|
|
||||
|
app |
||||
|
.use("/", php.cgi(config.wp.path, config.php.bin)) |
||||
|
.listen(config.port) |
||||
|
|
||||
|
console.log(`Server listening at ${config.port}!`) |
Loading…
Reference in new issue