Skip to content

Commit 34714d9

Browse files
committed
changed redoc default cdn to speed up swagger-ui
1 parent 1433301 commit 34714d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/starter/swagger/info_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type apiInfoBuilder struct {
5656

5757
SystemServer *system.Server
5858
AppVersion string `value:"${app.version}"`
59-
RedocURL string `json:"redoc_url" value:"${redoc.url:https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js}"`
59+
RedocURL string `json:"redoc_url" value:"${redoc.url:https://unpkg.com/redoc@next/bundles/redoc.standalone.js}"`
6060
}
6161

6262
func ApiInfoBuilder() ApiInfoBuilderInterface {

0 commit comments

Comments
 (0)