mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 11:31:22 +00:00
9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
|
import winston = require('winston')
|
||
|
import App from './app'
|
||
|
|
||
|
const { server, config } = new App()
|
||
|
|
||
|
server.listen(config.port, config.host, () => {
|
||
|
winston.info(`listening on ${config.host}:${config.port}`)
|
||
|
})
|