rever!!!
This commit is contained in:
parent
8163b16cea
commit
faf5bd4f90
6 changed files with 795 additions and 0 deletions
15
index.js
Normal file
15
index.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
const express = require('express'),
|
||||
path = require('path')
|
||||
|
||||
var app = express()
|
||||
|
||||
const PORT = process.env.PORT || 8080
|
||||
|
||||
const staticpath = path.join(__dirname, (process.env.STATIC_PATH || 'static/'))
|
||||
|
||||
app.use(express.static(staticpath))
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log("Violets-Purgatory is now listening on port: " + PORT)
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue