server stuff
This commit is contained in:
12
server/src/main.ts
Normal file
12
server/src/main.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import * as http from 'http'
|
||||
import * as express from 'express'
|
||||
|
||||
let app = express()
|
||||
app.use('/', express.static(__dirname + '/../../dist'))
|
||||
|
||||
app.listen(3000, () => {
|
||||
console.log('Example app listening on port 3000!')
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user