link to help is now labeld API, help updated
Some checks are pending
Docker Build and Push / build-and-push (push) Waiting to run

This commit is contained in:
Florian Walther
2026-01-16 22:16:15 +01:00
parent c4660e82e9
commit 37cf553218

View File

@@ -92,7 +92,7 @@ func helpHandler(w http.ResponseWriter, r *http.Request) {
<p><code>http://localhost:8080/api/password</code></p> <p><code>http://localhost:8080/api/password</code></p>
<h2>Beispiele:</h2> <h2>Beispiele:</h2>
<h3>Mac/Linux (Terminal):</h3> <h3>Mac/Linux (Terminal):</h3>
<pre>curl http://localhost:8080/api/password</pre> <pre>echo $(curl -s http://localhost:8080/api/password)</pre>
<h3>Windows (PowerShell):</h3> <h3>Windows (PowerShell):</h3>
<pre>Invoke-RestMethod -Uri http://localhost:8080/api/password</pre> <pre>Invoke-RestMethod -Uri http://localhost:8080/api/password</pre>
<h3>Windows (cmd):</h3> <h3>Windows (cmd):</h3>
@@ -217,7 +217,7 @@ html := fmt.Sprintf(
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<a href="/help" class="help-link">?</a> <a href="/help" class="help-link">API</a>
<h1>Generiertes Passwort</h1> <h1>Generiertes Passwort</h1>
<div id="password">%s</div> <div id="password">%s</div>
<div class="buttons"> <div class="buttons">