caipin 4 years ago
parent
commit
5b9c07ca68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -51,7 +51,7 @@ func main() {
 
 
 	// api接口文档配置
 	// api接口文档配置
 	config := &swagger.Config{
 	config := &swagger.Config{
-		URL: "http://localhost:6060/docs/swagger.json", //The url pointing to API definition
+		URL: "http://cm.com/docs/swagger.json", //The url pointing to API definition
 	}
 	}
 
 
 	app.Get("/swagger/{any:path}", swagger.CustomWrapHandler(config, swaggerFiles.Handler))
 	app.Get("/swagger/{any:path}", swagger.CustomWrapHandler(config, swaggerFiles.Handler))