diff options
| author | Teddy Wing | 2015-06-06 23:15:14 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-06-06 23:18:29 -0400 |
| commit | a890bc98c9e8a9b106ab97c2863d6dcef34e5e77 (patch) | |
| tree | a8f94e9bb74cc2b7b86d63070becbfb50dd14f0d /static | |
| parent | 7e57f147312fb9858e5071e6211e6e26b0092c17 (diff) | |
| download | New-House-on-the-Block-a890bc98c9e8a9b106ab97c2863d6dcef34e5e77.tar.bz2 | |
main.go: Add static file server
* Temporarily comment out Bitcoin transaction trigger
* Add a static file server to the main function
* Add a sample index.html file that gets served at the root
We'll use this to serve our HTML files for the AngelHack demo.
Used this article as a resource:
http://www.alexedwards.net/blog/serving-static-sites-with-go
Diffstat (limited to 'static')
| -rw-r--r-- | static/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..557db03 --- /dev/null +++ b/static/index.html @@ -0,0 +1 @@ +Hello World |
