forked from loafle/openapi-generator-original
enabled https
This commit is contained in:
parent
568a7be994
commit
e9aaa6da36
@ -27,7 +27,7 @@
|
|||||||
if (url && url.length > 1) {
|
if (url && url.length > 1) {
|
||||||
url = decodeURIComponent(url[1]);
|
url = decodeURIComponent(url[1]);
|
||||||
} else {
|
} else {
|
||||||
url = "http://generator.swagger.io/api/swagger.json";
|
url = "https://generator.swagger.io/api/swagger.json";
|
||||||
}
|
}
|
||||||
window.swaggerUi = new SwaggerUi({
|
window.swaggerUi = new SwaggerUi({
|
||||||
url: url,
|
url: url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user