mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2026-11-24 09:54:22 +00:00
Update api.go
This commit is contained in:
1 parent
0cd9fd70cb
commit
b21a4c7e31
1 file changed
+2
-1
+2
-1
@@ -22,6 +22,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
||||
AppName: "Katbox",
|
||||
DisableStartupMessage: true,
|
||||
Views: engine,
|
||||
Network: "tcp",
|
||||
})
|
||||
|
||||
// static file server
|
||||
@@ -48,4 +49,4 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
||||
log.Warn("Server shutdown Failed: ", err)
|
||||
}
|
||||
wg.Done()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user