后端主框架已达成
This commit is contained in:
@@ -46,6 +46,7 @@ func SetupRouter() *gin.Engine {
|
|||||||
// 前端入口
|
// 前端入口
|
||||||
r.GET("/", func(c *gin.Context) {
|
r.GET("/", func(c *gin.Context) {
|
||||||
c.File("./static/index.html")
|
c.File("./static/index.html")
|
||||||
|
c.String(200, "frpc-console 后端已启动 🚀")
|
||||||
})
|
})
|
||||||
|
|
||||||
return r
|
return r
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user