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
2022-05-27 11:00:09 +02:00

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