mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
removed hardcoded default host
This commit is contained in:
@@ -346,7 +346,7 @@ let serverApp: App | undefined
|
|||||||
export async function start(): Promise<void> {
|
export async function start(): Promise<void> {
|
||||||
serverApp = new App()
|
serverApp = new App()
|
||||||
|
|
||||||
const host = process.env.HOST || '127.0.0.1'
|
const host = process.env.HOST
|
||||||
const port = parseInt(process.env.PORT || '', 10) || 3000
|
const port = parseInt(process.env.PORT || '', 10) || 3000
|
||||||
const server = http.createServer(serverApp.app)
|
const server = http.createServer(serverApp.app)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user