mirror of
https://github.com/seejohnrun/haste-server.git
synced 2026-01-11 17:49:15 +00:00
9 lines
211 B
TypeScript
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}`)
|
|
})
|