mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
fix build
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
895d35a7af
commit
0bade3df2f
@ -17,6 +17,10 @@
|
|||||||
import express from 'express'
|
import express from 'express'
|
||||||
import fileUpload from 'express-fileupload'
|
import fileUpload from 'express-fileupload'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @public
|
||||||
|
* @param port -
|
||||||
|
*/
|
||||||
export function start (port: number): void {
|
export function start (port: number): void {
|
||||||
const app = express()
|
const app = express()
|
||||||
|
|
||||||
@ -32,6 +36,6 @@ export function start (port: number): void {
|
|||||||
res.status(400).send()
|
res.status(400).send()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(port)
|
app.listen(port)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user