Skip to content

Commit 5872315

Browse files
committed
fix: how imba serves files
1 parent 28a5daf commit 5872315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/imba/server.imba

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ application.then do(instance)
1414
let host = process.env.HOST || 'localhost'
1515
let addr = process.env.ADDR || false
1616

17+
imba.serve instance.fastify().server
18+
1719
instance.fastify().listen({
1820
port: Number(port),
1921
host: host
@@ -26,8 +28,6 @@ application.then do(instance)
2628
if addr then storeAddress address
2729
)
2830

29-
imba.serve instance.fastify().server
30-
3131
start!
3232

3333
def storeAddress address\string

0 commit comments

Comments
 (0)