esbuild embed
This commit is contained in:
@@ -60,11 +60,6 @@ func NewAPI() *gin.Engine {
|
||||
store := cookie.NewStore([]byte("Miku saves the world!"))
|
||||
router.Use(sessions.Sessions("ais", store))
|
||||
|
||||
// entry point html
|
||||
router.GET("/", func(c *gin.Context) {
|
||||
c.File("./web/public/index.html")
|
||||
})
|
||||
|
||||
group := router.Group("/api")
|
||||
|
||||
// json error middleware
|
||||
|
||||
Reference in New Issue
Block a user