mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
14 lines
271 B
Go
14 lines
271 B
Go
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)
|
|
}
|
|
}
|