load html on compile time instead of runtime.

Maybe fixed not found link to refer to correct url in release
This commit is contained in:
Martin Berg Alstad
2024-06-20 18:00:12 +02:00
parent bfd8053c15
commit ede5eedc24
4 changed files with 37 additions and 11 deletions

View File

@ -54,7 +54,7 @@
<div class="container">
<h1>404</h1>
<p>Oops! Page not found.</p>
<a href="http://localhost:8000/openapi">Go back to the documentation</a>
<a href="{{docs}}">Go back to the documentation</a>
</div>
</body>
</html>