1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-01 11:31:22 +00:00
haste-server/src/server.ts

9 lines
211 B
TypeScript
Raw Normal View History

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}`)
})