linked to swagger api from the landing page (#4058)

This commit is contained in:
Jędrzej Stuczyński
2023-10-25 15:23:11 +01:00
committed by GitHub
parent 6abeb9e3ca
commit 86fe4d1c1b
+2
View File
@@ -26,6 +26,8 @@ pub(super) async fn default() -> Html<&'static str> {
<h1> Nym Node </h1>
<div>
<p> default page of the nym node - you can customize it by setting the 'assets' path under '[http]' section of your config. </p>
You can explore the REST API at <a href = "/api/v1/swagger/">/api/v1/swagger/</a>
</div>
"#,
)