Functions

This commit is contained in:
bingus_violet 2024-07-29 00:45:58 -05:00
parent d9f7a8d4fc
commit 3321673f62
7 changed files with 378 additions and 1097 deletions

18
express.js Normal file
View file

@ -0,0 +1,18 @@
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
}