1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2026-01-11 17:49:15 +00:00
Files
haste-server/src/server.ts
2022-05-27 16:32:33 +02:00

9 lines
211 B
TypeScript

import * as winston from 'winston'
import App from './app'
const { server, config } = new App()
server.listen(config.port, config.host, () => {
winston.info(`listening on ${config.host}:${config.port}`)
})