stupid script to serve the latest images

This commit is contained in:
Alex Polvi 2014-03-07 12:39:03 -08:00
parent f96ddc8d77
commit 5b47df4672

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)
}
}