Files
speckle-server/packages/server/bin/www
T
Iain Sproat 4d01e13a84 feat(structured logging) (#1242)
* Revert "Revert structured logging 2 (#1240)"
This reverts commit 78ecaeffcb.
* Logging should not be bundled into core shared directory
* making sure observability stuff isnt bundled into frontend


Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2022-12-06 11:51:18 +00:00

12 lines
246 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict'
const { logger } = require('../dist/logging/logging')
const { init, startHttp } = require('../dist/app')
init()
.then(({ app, server }) => startHttp(server, app))
.catch((err) => logger.error(err))
// 💥