Skip to content

Commit

Permalink
root level index.html page to redirect to swagger page.
Browse files Browse the repository at this point in the history
  • Loading branch information
amaline committed Apr 6, 2016
1 parent 7b89864 commit be03b10
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Swagger Redirect</title>
<script type="text/javascript">
var loc=window.location;
var base=loc.protocol + "//" + loc.hostname + (loc.port ? ':' + loc.port : '');
window.location= base + "/swagger/index.htm?url=" + base + "/api-docs"
</script>
</head>
<body>

</body>
</html>

0 comments on commit be03b10

Please sign in to comment.