|
@@ -51,7 +51,7 @@ func main() {
|
|
|
|
|
|
// api接口文档配置
|
|
|
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))
|