From a890bc98c9e8a9b106ab97c2863d6dcef34e5e77 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 6 Jun 2015 23:15:14 -0400 Subject: 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 --- static/index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/index.html (limited to 'static/index.html') 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 -- cgit v1.2.3