10 lines
198 B
JavaScript
10 lines
198 B
JavaScript
|
const express = require("express")
|
||
|
const path = require("path")
|
||
|
const PORT = 8080
|
||
|
|
||
|
const app = express()
|
||
|
|
||
|
app.use(express.static('./web'))
|
||
|
app.listen(PORT, () => console.log("Poslusam na ", PORT))
|
||
|
|