fix hypersphere apis installation

This commit is contained in:
Jeff
2019-09-27 18:18:59 +08:00
committed by zryfish
parent 106354819e
commit 69ab71d629
10 changed files with 69 additions and 38 deletions

View File

@@ -25,13 +25,6 @@ import (
"github.com/mholt/caddy/caddyhttp/httpserver"
)
func init() {
caddy.RegisterPlugin("swagger", caddy.Plugin{
ServerType: "http",
Action: Setup,
})
}
func Setup(c *caddy.Controller) error {
handler, err := parse(c)