aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Latta <zach@zachlatta.com>2016-03-06 08:13:32 -0500
committerZach Latta <zach@zachlatta.com>2016-03-06 08:13:32 -0500
commitf794f90c83abe80776b752a0a5ad98b986a33c27 (patch)
tree4112e2acda3563c7a15b9e54a5796b22a13a45e7
parentc578e565e2f482b624f2b940fa63c0e26c9c3ba0 (diff)
downloadsshtron-f794f90c83abe80776b752a0a5ad98b986a33c27.tar.gz
Improvements to webpage and server
-rw-r--r--main.go4
-rw-r--r--static/index.html1
2 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index 632dda6..7e7d652 100644
--- a/main.go
+++ b/main.go
@@ -105,7 +105,9 @@ func main() {
httpPort,
)
- go panic(http.ListenAndServe(httpPort, http.FileServer(http.Dir("./static/"))))
+ go func() {
+ panic(http.ListenAndServe(httpPort, http.FileServer(http.Dir("./static/"))))
+ }()
// Once a ServerConfig has been configured, connections can be
// accepted.
diff --git a/static/index.html b/static/index.html
index 95e2cd8..f371cc6 100644
--- a/static/index.html
+++ b/static/index.html
@@ -27,6 +27,7 @@
SSH.
</p>
<p class="description"><code><span class="no-copy">$</span> ssh sshtron.zachlatta.com</code></p>
+ <p class="subtext">(Use WASD or vim keybindings for movement)</p>
<p class="description">
Want a sneak peak of what it looks like? Click here for a GIF.
</p>
Un proyecto texto-plano.xyz