ShawnAI commited on
Commit
d08de30
·
1 Parent(s): 2a3ed35

Update dist/index.html

Browse files
Files changed (1) hide show
  1. dist/index.html +1 -1
dist/index.html CHANGED
@@ -55,7 +55,7 @@ loadSwagger(release + '/' + currentFile); // Load the corresponding file for the
55
  }
56
 
57
  function loadSwagger(url) {
58
- currentFile = url.split('/')[2];
59
  window.ui = SwaggerUIBundle({
60
  url: url,
61
  dom_id: '#swagger-ui'
 
55
  }
56
 
57
  function loadSwagger(url) {
58
+ currentFile = url.split('/')[1];
59
  window.ui = SwaggerUIBundle({
60
  url: url,
61
  dom_id: '#swagger-ui'