fix: issues
This commit is contained in:
@@ -78,6 +78,9 @@ func Serve(cmd *cobra.Command, args []string) error {
|
||||
engine.Use(mid.WeChatVerify)
|
||||
|
||||
engine.Use([]string{"/t/:tenant", "/t/:tenant/*"}, mid.WeChatAuth, http.Wechat.Render)
|
||||
engine.Get("MP_verify_dEF9kn8rJlBsuLKk.txt", func(c fiber.Ctx) error {
|
||||
return c.SendString("dEF9kn8rJlBsuLKk")
|
||||
})
|
||||
engine.Get("/posters/:tenant/:hash.jpg", func(c fiber.Ctx) error {
|
||||
tenant := c.Params("tenant")
|
||||
hash := c.Params("hash")
|
||||
|
||||
Reference in New Issue
Block a user