mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +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 fileUpload from 'express-fileupload'
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @param port -
|
||||
*/
|
||||
export function start (port: number): void {
|
||||
const app = express()
|
||||
|
||||
@ -32,6 +36,6 @@ export function start (port: number): void {
|
||||
res.status(400).send()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
app.listen(port)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user