use HTTPS for Petstore by default (#4652)

This commit is contained in:
kyle
2018-06-15 14:36:15 -07:00
committed by GitHub
parent 8416b043ea
commit bf77474a11
9 changed files with 12 additions and 12 deletions

View File

@@ -43,7 +43,7 @@
window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"]
// Build a system
const ui = SwaggerUIBundle({
url: "http://petstore.swagger.io/v2/swagger.json",
url: "https://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,