|
|
@ -24,6 +24,7 @@ func main() {
|
|
|
|
app.Use(logger.New())
|
|
|
|
app.Use(logger.New())
|
|
|
|
app.Use(recover.New())
|
|
|
|
app.Use(recover.New())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Static files
|
|
|
|
app.Static("/", "/_frontend/dist")
|
|
|
|
app.Static("/", "/_frontend/dist")
|
|
|
|
|
|
|
|
|
|
|
|
app.Route("/api", router.Api)
|
|
|
|
app.Route("/api", router.Api)
|
|
|
|