This commit is contained in:
Violet 2023-10-20 21:53:49 -05:00
parent 8163b16cea
commit faf5bd4f90
6 changed files with 795 additions and 0 deletions

15
index.js Normal file
View 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)
})