mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 07:36:37 +08:00
refactor(msg_gateway): restructure and rename message_gateway aligned with custom_example
This commit is contained in:
@@ -66,11 +66,6 @@ func (p *Plugin) Apply(ctx *core.Context) error {
|
||||
})
|
||||
ctx.Router().RegisterWhitelist("/api/v1/config/public")
|
||||
|
||||
// 3. Custom injection
|
||||
ctx.Router().GET("/custom", func(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, response.OK(gin.H{"custom": true}))
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user