mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 06:10:23 -04: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))
|
|
}
|