Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/imba/server.imba
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ application.then do(instance)
let host = process.env.HOST || 'localhost'
let addr = process.env.ADDR || false

imba.serve instance.fastify().server

instance.fastify().listen({
port: Number(port),
host: host
Expand All @@ -26,8 +28,6 @@ application.then do(instance)
if addr then storeAddress address
)

imba.serve instance.fastify().server

start!

def storeAddress address\string
Expand Down
Loading