oops *trips and falls and deletes EVERYTHING*
This commit is contained in:
parent
9cd9050d95
commit
8163b16cea
8 changed files with 127 additions and 962 deletions
15
index.js
15
index.js
|
@ -1,15 +0,0 @@
|
|||
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