fix: index container closing div

This commit is contained in:
Urko 2023-07-20 09:09:43 +02:00
parent f987ae9b11
commit da1228082a
1 changed files with 12 additions and 10 deletions

View File

@ -95,7 +95,8 @@
<nav> <nav>
<ul> <ul>
<li class="current"><a href="/">Home</a></li> <li class="current"><a href="/">Home</a></li>
<li class=""><a target="_blank" href="https://gitea.urkob.com/urko/btc-pay-checker">Source code</a></li> <li class=""><a target="_blank" href="https://gitea.urkob.com/urko/btc-pay-checker">Source code</a>
</li>
</ul> </ul>
</nav> </nav>
</div> </div>
@ -195,17 +196,17 @@
current page with the response HTML.</p> current page with the response HTML.</p>
<p>Please note that the exact method of displaying the response will depend on the specifics of your application <p>Please note that the exact method of displaying the response will depend on the specifics of your application
and its user interface.</p> and its user interface.</p>
</div>
<h3>Rate Limiting</h3> <h3>Rate Limiting</h3>
<p>To protect the service from potential denial-of-service (DoS) attacks, we have implemented rate limiting on our <p>To protect the service from potential denial-of-service (DoS) attacks, we have implemented rate limiting on
server. This is done using a middleware in the Fiber framework.</p> our
<p>The current configuration allows a maximum of 5 requests per client within a 30-minute window. If a client server. This is done using a middleware in the Fiber framework.</p>
exceeds this limit, further requests will be temporarily blocked until the rate falls below the limit.</p> <p>The current configuration allows a maximum of 5 requests per client within a 30-minute window. If a client
<p>This is achieved with the following configuration:</p> exceeds this limit, further requests will be temporarily blocked until the rate falls below the limit.</p>
<p>This is achieved with the following configuration:</p>
<pre> <pre>
<code> <code>
s.app.Use(limiter.New(limiter.Config{ s.app.Use(limiter.New(limiter.Config{
Max: 5, Max: 5,
@ -215,8 +216,9 @@
</code> </code>
</pre> </pre>
<p>Please be aware of this limit when integrating with our API to ensure a smooth user experience.</p> <p>Please be aware of this limit when integrating with our API to ensure a smooth user experience.</p>
</div>
</body> </body>
</html> </html>