Fix http-server filename (#559)
* Fix filename for running the http-server example * Generate the fixed HTML
This commit is contained in:
@@ -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
2
public/http-server
generated
@@ -162,7 +162,7 @@ router we’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 &</span></span></code></pre>
|
||||
<pre class="chroma"><code><span class="line"><span class="cl"><span class="gp">$</span> go run http-server.go &</span></span></code></pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
Reference in New Issue
Block a user