Skip to content

Commit

Permalink
Remove (outdated) version from flasgger base template
Browse files Browse the repository at this point in the history
Remove the version displaying element from the base template used
by flasgger. The version there was outdated, and keeping it up-to-date
would be an unnecessary maintenance effort. JavaScript automatically
displays the correct version once the page is loaded anyway (and it
doesn't work without JavaScript).
  • Loading branch information
mgorny committed Aug 23, 2023
1 parent 6fe3729 commit bb2e0f6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions httpbin/templates/flasgger/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,7 @@
<section class="block col-12">
<div class="info">
<hgroup class="main">
<h2 class="title">httpbin.org
<small>
<pre class="version">0.9.2</pre>
</small>
</h2>
<h2 class="title">httpbin.org</h2>
<pre class="base-url">[ Base URL: httpbin.org/ ]</pre>
</hgroup>
<div class="description">
Expand Down

0 comments on commit bb2e0f6

Please sign in to comment.