mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-26 14:31:28 +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}`)
|
|
})
|