Fix http-server filename (#559)

* Fix filename for running the http-server example

* Generate the fixed HTML
This commit is contained in:
Marek Furák
2024-11-04 13:03:43 +00:00
committed by GitHub
parent 81ec07ea0a
commit bc680ed6b2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# Run the server in the background.
$ go run http-servers.go &
$ go run http-server.go &
# Access the `/hello` route.
$ curl localhost:8090/hello

2
public/http-server generated
View File

@@ -162,7 +162,7 @@ router we&rsquo;ve just set up.</p>
</td>
<td class="code leading">
<pre class="chroma"><code><span class="line"><span class="cl"><span class="gp">$</span> go run http-servers.go &amp;</span></span></code></pre>
<pre class="chroma"><code><span class="line"><span class="cl"><span class="gp">$</span> go run http-server.go &amp;</span></span></code></pre>
</td>
</tr>