Browse Source

Added server.js

master
Muthu Kumar 7 years ago
parent
commit
42010c83aa
  1. 11
      server.js

11
server.js

@ -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…
Cancel
Save