mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
13 lines
171 B
Go
13 lines
171 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
fs := http.FileServer(http.Dir("/static"))
|
||
|
http.Handle("/", fs)
|
||
|
log.Panic(http.ListenAndServe(":80", nil))
|
||
|
}
|