mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2025-06-07 19:35:57 +00:00
Update api.go
This commit is contained in:
parent
0cd9fd70cb
commit
b21a4c7e31
@ -22,6 +22,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
|||||||
AppName: "Katbox",
|
AppName: "Katbox",
|
||||||
DisableStartupMessage: true,
|
DisableStartupMessage: true,
|
||||||
Views: engine,
|
Views: engine,
|
||||||
|
Network: "tcp",
|
||||||
})
|
})
|
||||||
|
|
||||||
// static file server
|
// static file server
|
||||||
@ -48,4 +49,4 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
|||||||
log.Warn("Server shutdown Failed: ", err)
|
log.Warn("Server shutdown Failed: ", err)
|
||||||
}
|
}
|
||||||
wg.Done()
|
wg.Done()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user