Merge pull request #185 from polvi/add-serve

stupid script to serve the latest images
This commit is contained in:
polvi 2014-03-07 12:41:49 -08:00
commit b644bcb004

13
serve.go Normal file
View File

@ -0,0 +1,13 @@
package main
import (
"net/http"
"log"
)
func main() {
err := http.ListenAndServe(":8082", http.FileServer(http.Dir("../build/images/amd64-usr/latest/")))
if err != nil {
log.Printf("Error running web server for static assets: %v", err)
}
}