mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user