Univerter/express.js

18 lines
323 B
JavaScript
Raw Permalink Normal View History

2024-07-29 00:45:58 -05:00
const express = require("express"),
path = require("path")
const PORT = process.env.PORT || 8080
var staticPath = path.join(__dirname, "static")
var app = express()
app.use(express.static(staticPath))
app.listen(PORT, () => {
console.log("Univerter now listening on PORT: " + PORT)
})
module.exports = {
app
}