This commit is contained in:
Artur Gurgul 2024-10-11 11:11:40 +02:00
parent 374e79cfb4
commit d086c1d493
25 changed files with 2539 additions and 239 deletions

11
serve.js Normal file
View file

@ -0,0 +1,11 @@
const express = require('express')
const app = express()
const PORT = process.env.PORT || 3000
export function serve() {
app.use(express.static('./.build'))
app.listen(PORT, () => {
console.log(`Server is running on http://localhost:${PORT}`)
})
}