Port
This commit is contained in:
parent
1413f391c0
commit
5bf43f9b4c
2 changed files with 11 additions and 1 deletions
0
config.json
Normal file
0
config.json
Normal file
12
index.js
12
index.js
|
@ -1,2 +1,12 @@
|
||||||
const express = require("express"),
|
const express = require("express"),
|
||||||
fs = require("fs")
|
fs = require("fs"),
|
||||||
|
path = require("path")
|
||||||
|
|
||||||
|
var app = express()
|
||||||
|
|
||||||
|
var PORT = process.env.PORT || 8080
|
||||||
|
|
||||||
|
app.listen(PORT, () => {
|
||||||
|
console.log("Now listening on PORT: " + PORT)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue