Skip to content

Commit

Permalink
Merge pull request #133 from demmojo/master
Browse files Browse the repository at this point in the history
Temporarily pin the swagger-ui unpkg URL to 3.30.0
  • Loading branch information
tfranzel authored Jul 22, 2020
2 parents 5679b0a + 904b9cf commit 7d67cd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drf_spectacular/templates/drf_spectacular/swagger_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<title>Swagger</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="//unpkg.com/swagger-ui-dist@3/swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="//unpkg.com/swagger-ui-dist@3.30.0/swagger-ui.css" />
</head>
<body>
<div id="swagger-ui"></div>
<script src="//unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<script src="//unpkg.com/swagger-ui-dist@3.30.0/swagger-ui-bundle.js"></script>
<script>
const ui = SwaggerUIBundle({
url: "{{ schema_url }}",
Expand All @@ -26,4 +26,4 @@
})
</script>
</body>
</html>
</html>

0 comments on commit 7d67cd4

Please sign in to comment.