Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 4, 2023
1 parent 50a85ec commit 050e1b9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/admin/apis/easy_admin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package apis

import (
resource "github.com/nicelizhi/easy-admin/ui"

"github.com/gin-gonic/gin"
)

func EasyAdminStart(c *gin.Context) {
c.Header("Content-Type", "text/html; charset=utf-8")
c.String(200, string(resource.Html))
}

func Favicon(c *gin.Context) {
c.String(200, string(resource.Favicon))
}

0 comments on commit 050e1b9

Please sign in to comment.