更新Swagger配置,修改Host和BasePath
This commit is contained in:
parent
e1beee6478
commit
69b0a4cd83
@ -970,8 +970,8 @@ const docTemplate = `{
|
||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||
var SwaggerInfo = &swag.Spec{
|
||||
Version: "1.0",
|
||||
Host: "localhost:8080",
|
||||
BasePath: "/api/v1",
|
||||
Host: "100.118.61.45:18090",
|
||||
BasePath: "/v1/api",
|
||||
Schemes: []string{},
|
||||
Title: "Beacon API",
|
||||
Description: "This is a sample server for a beacon.",
|
||||
|
Loading…
Reference in New Issue
Block a user